Skip to content

Commit 013292e

Browse files
committed
Update build scripts
1 parent c752e03 commit 013292e

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
@@ -27,20 +27,20 @@
2727
},
2828
"devDependencies": {
2929
"browserify": "^16.0.0",
30-
"esmangle": "^1.0.1",
3130
"json-stringify-safe": "^5.0.1",
3231
"nyc": "^12.0.0",
3332
"parse5": "^5.0.0",
3433
"prettier": "^1.13.5",
3534
"remark-cli": "^5.0.0",
3635
"remark-preset-wooorm": "^4.0.0",
3736
"tape": "^4.0.0",
37+
"tinyify": "^2.4.3",
3838
"xo": "^0.21.0"
3939
},
4040
"scripts": {
4141
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
42-
"build-bundle": "browserify index.js --bare -s hastUtilToParse5 > hast-util-to-parse5.js",
43-
"build-mangle": "esmangle hast-util-to-parse5.js > hast-util-to-parse5.min.js",
42+
"build-bundle": "browserify index.js -s hastUtilToParse5 > hast-util-to-parse5.js",
43+
"build-mangle": "browserify index.js -p tinyify -s hastUtilToParse5 > hast-util-to-parse5.min.js",
4444
"build": "npm run build-bundle && npm run build-mangle",
4545
"test-api": "node test",
4646
"test-coverage": "nyc --reporter lcov tape test",

0 commit comments

Comments
 (0)