Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 9e747b4

Browse files
committed
Update build scripts
1 parent 257de5d commit 9e747b4

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,7 +33,6 @@
3333
},
3434
"devDependencies": {
3535
"browserify": "^16.0.0",
36-
"esmangle": "^1.0.0",
3736
"hyperscript": "^2.0.2",
3837
"nyc": "^12.0.0",
3938
"prettier": "^1.13.5",
@@ -43,15 +42,16 @@
4342
"remark-cli": "^5.0.0",
4443
"remark-preset-wooorm": "^4.0.0",
4544
"tape": "^4.0.0",
45+
"tinyify": "^2.4.3",
4646
"unist-builder": "^1.0.1",
4747
"vdom-to-html": "^2.3.1",
4848
"virtual-dom": "^2.1.1",
4949
"xo": "^0.21.0"
5050
},
5151
"scripts": {
5252
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
53-
"build-bundle": "browserify index.js --bare -s hast-to-hyperscript > hast-to-hyperscript.js",
54-
"build-mangle": "esmangle hast-to-hyperscript.js > hast-to-hyperscript.min.js",
53+
"build-bundle": "browserify index.js -s hastToHyperscript > hast-to-hyperscript.js",
54+
"build-mangle": "browserify index.js -p tinyify -s hastToHyperscript > hast-to-hyperscript.min.js",
5555
"build": "npm run build-bundle && npm run build-mangle",
5656
"test-api": "node test",
5757
"test-coverage": "nyc --reporter lcov tape test.js",

0 commit comments

Comments
 (0)