Skip to content

Commit 2d947ae

Browse files
committed
Update build scripts
1 parent 57b7c0e commit 2d947ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
},
3030
"devDependencies": {
3131
"browserify": "^16.0.0",
32-
"esmangle": "^1.0.1",
3332
"is-hidden": "^1.0.1",
3433
"negate": "^1.0.0",
3534
"nyc": "^13.0.0",
@@ -42,13 +41,14 @@
4241
"remark-frontmatter": "^1.0.0",
4342
"remark-preset-wooorm": "^4.0.0",
4443
"tape": "^4.0.0",
44+
"tinyify": "^2.4.3",
4545
"vfile": "^3.0.0",
4646
"xo": "^0.23.0"
4747
},
4848
"scripts": {
4949
"format": "remark *.md -qfo && prettier --write '**/*.js' && xo --fix",
50-
"build-bundle": "browserify index.js --bare -s mdastUtilToNLCST > mdast-util-to-nlcst.js",
51-
"build-mangle": "esmangle mdast-util-to-nlcst.js > mdast-util-to-nlcst.min.js",
50+
"build-bundle": "browserify . -s mdastUtilToNLCST > mdast-util-to-nlcst.js",
51+
"build-mangle": "browserify . -s mdastUtilToNLCST -p tinyify > mdast-util-to-nlcst.min.js",
5252
"build": "npm run build-bundle && npm run build-mangle",
5353
"test-api": "node test",
5454
"test-coverage": "nyc --reporter lcov tape test/index.js",

0 commit comments

Comments
 (0)