Skip to content

Commit fbd8ef7

Browse files
committed
Update build scripts
1 parent 010da1c commit fbd8ef7

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
@@ -25,18 +25,18 @@
2525
},
2626
"devDependencies": {
2727
"browserify": "^16.0.0",
28-
"esmangle": "^1.0.1",
2928
"nyc": "^13.0.0",
3029
"prettier": "^1.13.5",
3130
"remark-cli": "^6.0.0",
3231
"remark-preset-wooorm": "^4.0.0",
3332
"tape": "^4.4.0",
33+
"tinyify": "^2.4.3",
3434
"xo": "^0.23.0"
3535
},
3636
"scripts": {
3737
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
38-
"build-bundle": "browserify index.js --bare -s hastUtilHeading > hast-util-heading.js",
39-
"build-mangle": "esmangle hast-util-heading.js > hast-util-heading.min.js",
38+
"build-bundle": "browserify . -s hastUtilHeading > hast-util-heading.js",
39+
"build-mangle": "browserify . -s hastUtilHeading -p tinyify > hast-util-heading.min.js",
4040
"build": "npm run build-bundle && npm run build-mangle",
4141
"test-api": "node test",
4242
"test-coverage": "nyc --reporter lcov tape test.js",

0 commit comments

Comments
 (0)