Skip to content

Commit 84a6186

Browse files
committed
Update build scripts
1 parent 5957488 commit 84a6186

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
@@ -33,18 +33,18 @@
3333
},
3434
"devDependencies": {
3535
"browserify": "^16.0.0",
36-
"esmangle": "^1.0.0",
3736
"nyc": "^13.0.0",
3837
"prettier": "^1.13.5",
3938
"remark-cli": "^6.0.0",
4039
"remark-preset-wooorm": "^4.0.0",
4140
"tape": "^4.0.0",
41+
"tinyify": "^2.4.3",
4242
"xo": "^0.23.0"
4343
},
4444
"scripts": {
4545
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
46-
"build-bundle": "browserify index.js --bare -s hastscript > hastscript.js",
47-
"build-mangle": "esmangle hastscript.js > hastscript.min.js",
46+
"build-bundle": "browserify . -s hastscript > hastscript.js",
47+
"build-mangle": "browserify . -s hastscript -p tinyify > hastscript.min.js",
4848
"build": "npm run build-bundle && npm run build-mangle",
4949
"test-api": "node test",
5050
"test-coverage": "nyc --reporter lcov tape test.js",

0 commit comments

Comments
 (0)