Skip to content

Commit ba845cc

Browse files
committed
Update build scripts
1 parent b64984c commit ba845cc

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": "^13.0.0",
2928
"prettier": "^1.12.1",
3029
"remark-cli": "^6.0.0",
3130
"remark-preset-wooorm": "^4.0.0",
3231
"tape": "^4.0.0",
32+
"tinyify": "^2.4.3",
3333
"xo": "^0.23.0"
3434
},
3535
"scripts": {
3636
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
37-
"build-bundle": "browserify index.js -s unistUtilAssert > unist-util-assert.js",
38-
"build-mangle": "esmangle < unist-util-assert.js > unist-util-assert.min.js",
37+
"build-bundle": "browserify . -s unistUtilAssert > unist-util-assert.js",
38+
"build-mangle": "browserify . -s unistUtilAssert -p tinyify > unist-util-assert.min.js",
3939
"build": "npm run build-bundle && npm run build-mangle",
4040
"test-api": "node test",
4141
"test-coverage": "nyc --reporter lcov tape test",

0 commit comments

Comments
 (0)