Skip to content

Commit 37d114d

Browse files
committed
Update build scripts
1 parent fde6a83 commit 37d114d

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": "^12.0.0",
2928
"remark-cli": "^5.0.0",
3029
"remark-preset-wooorm": "^4.0.0",
3130
"tape": "^4.0.0",
31+
"tinyify": "^2.4.3",
3232
"unist-builder": "^1.0.2",
3333
"xo": "^0.22.0"
3434
},
3535
"scripts": {
3636
"build-md": "remark . --quiet --frail --output",
37-
"build-bundle": "browserify index.js --bare -s mdastUtilCompact > mdast-util-compact.js",
38-
"build-mangle": "esmangle < mdast-util-compact.js > mdast-util-compact.min.js",
37+
"build-bundle": "browserify . -s mdastUtilCompact > mdast-util-compact.js",
38+
"build-mangle": "browserify . -s mdastUtilCompact -p tinyify > mdast-util-compact.min.js",
3939
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
4040
"lint": "xo",
4141
"test-api": "node test",

0 commit comments

Comments
 (0)