Skip to content

Commit 7b33c2c

Browse files
committedNov 6, 2018
Update build scripts
1 parent 9dbdb19 commit 7b33c2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
},
2828
"devDependencies": {
2929
"browserify": "^16.0.0",
30-
"esmangle": "^1.0.0",
3130
"is-hidden": "^1.1.1",
3231
"not": "^0.1.0",
3332
"nyc": "^13.0.0",
@@ -36,14 +35,15 @@
3635
"remark-preset-wooorm": "^4.0.0",
3736
"retext": "^5.0.0",
3837
"tape": "^4.0.0",
38+
"tinyify": "^2.4.3",
3939
"unist-util-remove-position": "^1.0.0",
4040
"unist-util-visit": "^1.1.3",
4141
"xo": "^0.23.0"
4242
},
4343
"scripts": {
4444
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
45-
"build-bundle": "browserify index.js --bare -s retextSyntaxUrls > retext-syntax-urls.js",
46-
"build-mangle": "esmangle retext-syntax-urls.js > retext-syntax-urls.min.js",
45+
"build-bundle": "browserify . -s retextSyntaxUrls > retext-syntax-urls.js",
46+
"build-mangle": "browserify . -s retextSyntaxUrls -p tinyify > retext-syntax-urls.min.js",
4747
"build": "npm run build-bundle && npm run build-mangle",
4848
"test-api": "node test",
4949
"test-coverage": "nyc --reporter lcov tape test/index.js",

0 commit comments

Comments
 (0)
Please sign in to comment.