Skip to content

Commit 0be31b5

Browse files
committed
Update build scripts
1 parent aec62ec commit 0be31b5

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
@@ -37,20 +37,20 @@
3737
],
3838
"devDependencies": {
3939
"browserify": "^16.0.0",
40-
"esmangle": "^1.0.1",
4140
"hastscript": "^4.0.0",
4241
"nyc": "^12.0.0",
4342
"prettier": "^1.13.5",
4443
"remark-cli": "^5.0.0",
4544
"remark-preset-wooorm": "^4.0.0",
4645
"tape": "^4.0.0",
46+
"tinyify": "^2.4.3",
4747
"unist-builder": "^1.0.2",
4848
"xo": "^0.21.0"
4949
},
5050
"scripts": {
5151
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
52-
"build-bundle": "browserify index.js --bare -s hastUtilSelect > hast-util-select.js",
53-
"build-mangle": "esmangle < hast-util-select.js > hast-util-select.min.js",
52+
"build-bundle": "browserify index.js -s hastUtilSelect > hast-util-select.js",
53+
"build-mangle": "browserify index.js -p tinyify -s hastUtilSelect > hast-util-select.min.js",
5454
"build": "npm run build-bundle && npm run build-mangle",
5555
"test-api": "node test",
5656
"test-coverage": "nyc --reporter lcov tape test/index.js",

0 commit comments

Comments
 (0)