Skip to content

Commit fb56860

Browse files
committed
Update build scripts
1 parent 22f85f2 commit fb56860

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
},
3434
"devDependencies": {
3535
"browserify": "^16.0.0",
36-
"esmangle": "^1.0.1",
3736
"is-hidden": "^1.0.1",
3837
"negate": "^1.0.0",
3938
"nyc": "^12.0.0",
@@ -45,13 +44,14 @@
4544
"remark-cli": "^5.0.0",
4645
"remark-preset-wooorm": "^4.0.0",
4746
"tape": "^4.0.0",
47+
"tinyify": "^2.4.3",
4848
"vfile": "^3.0.0",
4949
"xo": "^0.21.0"
5050
},
5151
"scripts": {
5252
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
53-
"build-bundle": "browserify index.js --bare -s hastUtilToNLCST > hast-util-to-nlcst.js",
54-
"build-mangle": "esmangle hast-util-to-nlcst.js > hast-util-to-nlcst.min.js",
53+
"build-bundle": "browserify . -s hastUtilToNLCST > hast-util-to-nlcst.js",
54+
"build-mangle": "browserify . -s hastUtilToNLCST -p tinyify > hast-util-to-nlcst.min.js",
5555
"build": "npm run build-bundle && npm run build-mangle",
5656
"test-api": "node test",
5757
"test-coverage": "nyc --reporter lcov tape test/index.js",

0 commit comments

Comments
 (0)