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 18, 2018
1 parent 8df91f4 commit 3841f38
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 @@ -29,7 +29,6 @@
"devDependencies": {
"bail": "^1.0.1",
"browserify": "^16.0.0",
"esmangle": "^1.0.0",
"is-hidden": "^1.0.1",
"negate": "^1.0.0",
"nyc": "^12.0.0",
Expand All @@ -38,13 +37,14 @@
"remark-cli": "^5.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.0.0",
"tinyify": "^2.4.3",
"to-vfile": "^5.0.0",
"xo": "^0.21.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify index.js --bare -s rehypeFormat > rehype-format.js",
"build-mangle": "esmangle rehype-format.js > rehype-format.min.js",
"build-bundle": "browserify index.js -s rehypeFormat > rehype-format.js",
"build-mangle": "browserify index.js -s rehypeFormat -p tinyify > rehype-format.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test/index.js",
Expand Down

0 comments on commit 3841f38

Please sign in to comment.