Skip to content

Commit e390a5f

Browse files
committed
Update build scripts
1 parent 0442851 commit e390a5f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

package.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
"zwitch": "^1.0.0"
3131
},
3232
"devDependencies": {
33-
"babel-core": "^6.26.3",
34-
"babel-preset-env": "^1.7.0",
35-
"babelify": "^8.0.0",
3633
"browserify": "^16.0.0",
3734
"esmangle": "^1.0.0",
3835
"hastscript": "^4.0.0",
@@ -44,14 +41,15 @@
4441
"remark-preset-wooorm": "^4.0.0",
4542
"remark-rehype": "^3.0.0",
4643
"tape": "^4.0.0",
44+
"tinyify": "^2.4.3",
4745
"unified": "^7.0.0",
4846
"unist-builder": "^1.0.2",
4947
"xo": "^0.21.0"
5048
},
5149
"scripts": {
5250
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
53-
"build-bundle": "browserify index.js -o hast-util-raw.js --bare -s hastUtilRaw -g [ babelify --presets [ \"babel-preset-env\" ] ]",
54-
"build-mangle": "esmangle hast-util-raw.js > hast-util-raw.min.js",
51+
"build-bundle": "browserify index.js -s hastUtilRaw > hast-util-raw.js",
52+
"build-mangle": "browserify index.js -s hastUtilRaw -p tinyify > hast-util-raw.min.js",
5553
"build": "npm run build-bundle && npm run build-mangle",
5654
"test-api": "node test",
5755
"test-coverage": "nyc --reporter lcov tape test.js",

0 commit comments

Comments
 (0)