Skip to content

Commit df2ea9b

Browse files
committed
Update build scripts
1 parent b1bf2be commit df2ea9b

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
@@ -20,18 +20,18 @@
2020
"dependencies": {},
2121
"devDependencies": {
2222
"browserify": "^16.0.0",
23-
"esmangle": "^1.0.1",
2423
"nyc": "^13.0.0",
2524
"prettier": "^1.13.5",
2625
"remark-cli": "^6.0.0",
2726
"remark-preset-wooorm": "^4.0.0",
2827
"tape": "^4.4.0",
28+
"tinyify": "^2.4.3",
2929
"xo": "^0.23.0"
3030
},
3131
"scripts": {
3232
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
33-
"build-bundle": "browserify index.js --bare -s hastUtilLabelable > hast-util-labelable.js",
34-
"build-mangle": "esmangle hast-util-labelable.js > hast-util-labelable.min.js",
33+
"build-bundle": "browserify . -s hastUtilLabelable > hast-util-labelable.js",
34+
"build-mangle": "browserify . -s hastUtilLabelable -p tinyify > hast-util-labelable.min.js",
3535
"build": "npm run build-bundle && npm run build-mangle",
3636
"lint": "xo",
3737
"test-api": "node test",

0 commit comments

Comments
 (0)