Last active
August 29, 2015 14:22
-
-
Save alexmcpherson/985a9467765713637331 to your computer and use it in GitHub Desktop.
package.json example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "app-name", | |
"scripts": { | |
"webpack": "$(npm bin)/webpack --devtool cheap-module-eval-source-map --progress --colors --watch", | |
"webpack-prod": "$(npm bin)/webpack -p", | |
"test": "mocha --compilers js:babel/register", | |
"test-coverage": "mocha --compilers js:babel/register -R html-cov --require blanket > coverage.html && open coverage.html", | |
"test-watch": "mocha --compilers js:babel/register -w", | |
"postinstall": "npm run webpack-prod" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment