Skip to content

Commit b9eed40

Browse files
committed
Update build scripts
1 parent 53ab899 commit b9eed40

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
@@ -24,18 +24,18 @@
2424
},
2525
"devDependencies": {
2626
"browserify": "^16.0.0",
27-
"esmangle": "^1.0.1",
2827
"nyc": "^13.0.0",
2928
"prettier": "^1.15.1",
3029
"remark-cli": "^6.0.0",
3130
"remark-preset-wooorm": "^4.0.0",
3231
"tape": "^4.4.0",
32+
"tinyify": "^2.4.3",
3333
"xo": "^0.23.0"
3434
},
3535
"scripts": {
3636
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
37-
"build-bundle": "browserify index.js --bare -s hastUtilInteractive > hast-util-interactive.js",
38-
"build-mangle": "esmangle hast-util-interactive.js > hast-util-interactive.min.js",
37+
"build-bundle": "browserify . -s hastUtilInteractive > hast-util-interactive.js",
38+
"build-mangle": "browserify . -s hastUtilInteractive -p tinyify > hast-util-interactive.min.js",
3939
"build": "npm run build-bundle && npm run build-mangle",
4040
"test-api": "node test",
4141
"test-coverage": "nyc --reporter lcov tape test.js",

0 commit comments

Comments
 (0)