Skip to content

Commit 15f6c05

Browse files
committed
Update build scripts
1 parent 4e8b5c8 commit 15f6c05

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,20 @@
3232
},
3333
"devDependencies": {
3434
"browserify": "^16.0.0",
35-
"bundle-collapser": "^1.2.1",
36-
"esmangle": "^1.0.1",
3735
"hastscript": "^4.0.0",
3836
"nyc": "^12.0.0",
3937
"prettier": "^1.13.5",
4038
"remark-cli": "^5.0.0",
4139
"remark-preset-wooorm": "^4.0.0",
4240
"tape": "^4.0.0",
41+
"tinyify": "^2.4.3",
4342
"unist-builder": "^1.0.1",
4443
"xo": "^0.21.0"
4544
},
4645
"scripts": {
4746
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
48-
"build-bundle": "browserify index.js --bare -s hastUtilToHTML > hast-util-to-html.js",
49-
"build-mangle": "bundle-collapser hast-util-to-html.js | esmangle > hast-util-to-html.min.js",
47+
"build-bundle": "browserify index.js -s hastUtilToHTML > hast-util-to-html.js",
48+
"build-mangle": "browserify index.js -p tinyify -s hastUtilToHTML > hast-util-to-html.min.js",
5049
"build": "npm run build-bundle && npm run build-mangle",
5150
"test-api": "node test",
5251
"test-coverage": "nyc --reporter lcov tape test",

0 commit comments

Comments
 (0)