Skip to content

Commit c73e393

Browse files
committed
Update build scripts
1 parent de18d7d commit c73e393

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
@@ -26,18 +26,18 @@
2626
},
2727
"devDependencies": {
2828
"browserify": "^16.0.0",
29-
"esmangle": "^1.0.1",
3029
"nyc": "^12.0.0",
3130
"prettier": "^1.14.2",
3231
"remark-cli": "^5.0.0",
3332
"remark-preset-wooorm": "^4.0.0",
3433
"tape": "^4.0.0",
34+
"tinyify": "^2.4.3",
3535
"xo": "^0.22.0"
3636
},
3737
"scripts": {
3838
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
39-
"build-bundle": "browserify index.js -s mdastUtilAssert > mdast-util-assert.js",
40-
"build-mangle": "esmangle < mdast-util-assert.js > mdast-util-assert.min.js",
39+
"build-bundle": "browserify . -s mdastUtilAssert > mdast-util-assert.js",
40+
"build-mangle": "browserify . -s mdastUtilAssert -p tinyify > mdast-util-assert.min.js",
4141
"build": "npm run build-bundle && npm run build-mangle",
4242
"test-api": "node test",
4343
"test-coverage": "nyc --reporter lcov tape test",

0 commit comments

Comments
 (0)