Skip to content

Commit 235c963

Browse files
committed
Update build scripts
1 parent fbb90e3 commit 235c963

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@
2525
"devDependencies": {
2626
"browserify": "^16.0.0",
2727
"deepmerge": "^2.0.0",
28-
"esmangle": "^1.0.1",
2928
"hast-util-to-html": "^5.0.0",
3029
"hastscript": "^5.0.0",
3130
"nyc": "^13.0.0",
3231
"prettier": "^1.13.5",
3332
"remark-cli": "^6.0.0",
3433
"remark-preset-wooorm": "^4.0.0",
3534
"tape": "^4.0.0",
35+
"tinyify": "^2.4.3",
3636
"unist-builder": "^1.0.1",
3737
"xo": "^0.23.0"
3838
},
3939
"scripts": {
4040
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
41-
"build-bundle": "browserify index.js --bare -s hastUtilSanitize > hast-util-sanitize.js",
42-
"build-mangle": "esmangle hast-util-sanitize.js > hast-util-sanitize.min.js",
41+
"build-bundle": "browserify . -s hastUtilSanitize > hast-util-sanitize.js",
42+
"build-mangle": "browserify . -s hastUtilSanitize -p tinyify > hast-util-sanitize.min.js",
4343
"build": "npm run build-bundle && npm run build-mangle",
4444
"test-api": "node test",
4545
"test-coverage": "nyc --reporter lcov tape test.js",

0 commit comments

Comments
 (0)