Skip to content

Commit a168fa1

Browse files
committed
Update build scripts
1 parent de30211 commit a168fa1

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,17 +24,17 @@
2424
"dependencies": {},
2525
"devDependencies": {
2626
"browserify": "^16.0.0",
27-
"esmangle": "^1.0.0",
2827
"nyc": "^12.0.0",
2928
"remark-cli": "^5.0.0",
3029
"remark-preset-wooorm": "^4.0.0",
3130
"tape": "^4.4.0",
31+
"tinyify": "^2.4.3",
3232
"xo": "^0.22.0"
3333
},
3434
"scripts": {
3535
"build-md": "remark . --quiet --frail --output",
36-
"build-bundle": "browserify index.js --no-builtins -s mdastUtilToString > mdast-util-to-string.js",
37-
"build-mangle": "esmangle mdast-util-to-string.js > mdast-util-to-string.min.js",
36+
"build-bundle": "browserify . -s mdastUtilToString > mdast-util-to-string.js",
37+
"build-mangle": "browserify . -s mdastUtilToString -p tinyify > mdast-util-to-string.min.js",
3838
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
3939
"lint": "xo",
4040
"test-api": "node test.js",

0 commit comments

Comments
 (0)