Skip to content

Commit 863c8ed

Browse files
committed
Update build scripts
1 parent c3ec9dc commit 863c8ed

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
@@ -26,18 +26,18 @@
2626
},
2727
"devDependencies": {
2828
"browserify": "^16.0.0",
29-
"esmangle": "^1.0.1",
3029
"nyc": "^13.0.0",
3130
"prettier": "^1.13.5",
3231
"remark-cli": "^6.0.0",
3332
"remark-preset-wooorm": "^4.0.0",
3433
"tape": "^4.4.0",
34+
"tinyify": "^2.4.3",
3535
"xo": "^0.23.0"
3636
},
3737
"scripts": {
3838
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
39-
"build-bundle": "browserify index.js --bare -s hastUtilScriptSupporting > hast-util-script-supporting.js",
40-
"build-mangle": "esmangle hast-util-script-supporting.js > hast-util-script-supporting.min.js",
39+
"build-bundle": "browserify . -s hastUtilScriptSupporting > hast-util-script-supporting.js",
40+
"build-mangle": "browserify . -s hastUtilScriptSupporting -p tinyify > hast-util-script-supporting.min.js",
4141
"build": "npm run build-bundle && npm run build-mangle",
4242
"test-api": "node test",
4343
"test-coverage": "nyc --reporter lcov tape test.js",

0 commit comments

Comments
 (0)