Skip to content

Commit 1e39182

Browse files
committed
Update build scripts
1 parent c38adc8 commit 1e39182

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
@@ -27,20 +27,20 @@
2727
},
2828
"devDependencies": {
2929
"browserify": "^16.0.0",
30-
"esmangle": "^1.0.0",
3130
"is-hidden": "^1.0.1",
3231
"negate": "^1.0.0",
3332
"nyc": "^12.0.0",
3433
"remark": "^9.0.0",
3534
"remark-cli": "^5.0.0",
3635
"remark-preset-wooorm": "^4.0.0",
3736
"tape": "^4.0.0",
37+
"tinyify": "^2.4.3",
3838
"xo": "^0.22.0"
3939
},
4040
"scripts": {
4141
"build-md": "remark . -qfo",
42-
"build-bundle": "browserify index.js --bare -s mdastZone > mdast-zone.js",
43-
"build-mangle": "esmangle mdast-zone.js > mdast-zone.min.js",
42+
"build-bundle": "browserify . -s mdastZone > mdast-zone.js",
43+
"build-mangle": "browserify . -s mdastZone -p tinyify > mdast-zone.min.js",
4444
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
4545
"lint": "xo",
4646
"test-api": "node test/index.js",

0 commit comments

Comments
 (0)