Skip to content

Commit

Permalink
Update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 19, 2018
1 parent 99ffd36 commit 4b755a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
"devDependencies": {
"browserify": "^16.0.0",
"deepmerge": "^2.0.0",
"esmangle": "^1.0.0",
"nyc": "^12.0.0",
"prettier": "^1.13.7",
"rehype": "^6.0.0",
"remark-cli": "^5.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.0.0",
"tinyify": "^2.4.3",
"xo": "^0.21.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify index.js --bare -s rehypeSanitize > rehype-sanitize.js",
"build-mangle": "esmangle rehype-sanitize.js > rehype-sanitize.min.js",
"build-bundle": "browserify index.js -s rehypeSanitize > rehype-sanitize.js",
"build-mangle": "browserify index.js -s rehypeSanitize -p tinyify > rehype-sanitize.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test.js",
Expand Down

0 comments on commit 4b755a8

Please sign in to comment.