fix(core): update
This commit is contained in:
parent
af04a3d04b
commit
173536be39
1058
package-lock.json
generated
1058
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -9,18 +9,17 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "tstest test/",
|
"test": "tstest test/",
|
||||||
"format": "(gitzone format)",
|
|
||||||
"build": "tsbuild"
|
"build": "tsbuild"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.0.22",
|
"@gitzone/tsbuild": "^2.1.11",
|
||||||
"@gitzone/tsrun": "^1.1.12",
|
"@gitzone/tsrun": "^1.2.6",
|
||||||
"@gitzone/tstest": "^1.0.15",
|
"@gitzone/tstest": "^1.0.20",
|
||||||
"@pushrocks/tapbundle": "^3.0.7",
|
"@pushrocks/tapbundle": "^3.0.9",
|
||||||
"@types/node": "^10.10.3"
|
"@types/node": "^12.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/marked": "^0.4.1",
|
"@types/marked": "^0.6.5",
|
||||||
"marked": "^0.5.0"
|
"marked": "^0.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ import * as smartmarkdown from '../ts/index';
|
|||||||
|
|
||||||
tap.test('first test', async () => {
|
tap.test('first test', async () => {
|
||||||
const mdString = smartmarkdown.markdownToHtml('# Hi!');
|
const mdString = smartmarkdown.markdownToHtml('# Hi!');
|
||||||
expect(mdString).to.equal('<h1 id="hi-">Hi!</h1>\n');
|
expect(mdString).to.equal('<h1 id="hi">Hi!</h1>\n');
|
||||||
});
|
});
|
||||||
|
|
||||||
tap.start();
|
tap.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user