Skip to content

Commit f3d5e36

Browse files
committed
Update build scripts
1 parent 130ee90 commit f3d5e36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@
2929
},
3030
"devDependencies": {
3131
"browserify": "^16.0.0",
32-
"esmangle": "^1.0.1",
3332
"hastscript": "^5.0.0",
3433
"nyc": "^13.0.0",
3534
"prettier": "^1.13.5",
3635
"remark-cli": "^6.0.0",
3736
"remark-preset-wooorm": "^4.0.0",
3837
"tape": "^4.4.0",
38+
"tinyify": "^2.4.3",
3939
"xo": "^0.23.0"
4040
},
4141
"scripts": {
4242
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
43-
"build-bundle": "browserify index.js --bare -s hastUtilFindAndReplace > hast-util-find-and-replace.js",
44-
"build-mangle": "esmangle hast-util-find-and-replace.js > hast-util-find-and-replace.min.js",
43+
"build-bundle": "browserify . -s hastUtilFindAndReplace > hast-util-find-and-replace.js",
44+
"build-mangle": "browserify . -s hastUtilFindAndReplace -p tinyify > hast-util-find-and-replace.min.js",
4545
"build": "npm run build-bundle && npm run build-mangle",
4646
"test-api": "node test",
4747
"test-coverage": "nyc --reporter lcov tape test.js",

0 commit comments

Comments
 (0)