Skip to content

Commit 28e75e5

Browse files
committed
Update build scripts
1 parent 0ea3a1c commit 28e75e5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
"xtend": "^4.0.1"
2626
},
2727
"devDependencies": {
28-
"babel-core": "^6.26.3",
29-
"babel-preset-env": "^1.7.0",
30-
"babelify": "^8.0.0",
3128
"browserify": "^16.0.0",
3229
"esmangle": "^1.0.1",
3330
"is-hidden": "^1.1.0",
@@ -38,14 +35,15 @@
3835
"remark-cli": "^5.0.0",
3936
"remark-preset-wooorm": "^4.0.0",
4037
"tape": "^4.0.0",
38+
"tinyify": "^2.4.3",
4139
"to-vfile": "^5.0.0",
4240
"unist-util-visit": "^1.1.3",
4341
"xo": "^0.21.0"
4442
},
4543
"scripts": {
4644
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
47-
"build-bundle": "browserify index.js --bare -s hastUtilFromParse5 -g [ babelify --presets [ \"babel-preset-env\" ] ] > hast-util-from-parse5.js",
48-
"build-mangle": "esmangle hast-util-from-parse5.js > hast-util-from-parse5.min.js",
45+
"build-bundle": "browserify index.js -s hastUtilFromParse5 > hast-util-from-parse5.js",
46+
"build-mangle": "browserify index.js -p tinyify -s hastUtilFromParse5 > hast-util-from-parse5.min.js",
4947
"build": "npm run build-bundle && npm run build-mangle",
5048
"test-api": "node test",
5149
"test-coverage": "nyc --reporter lcov tape test",

0 commit comments

Comments
 (0)