Last active
March 9, 2018 01:28
-
-
Save davetorbeck/7c92b7ff92d4e30e499b5b21c75010d6 to your computer and use it in GitHub Desktop.
sample package.json with test and test-debug
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
{ | |
"scripts": { | |
"dev": "webpack-dev-server --open --hot", | |
"build": "webpack --progress --hide-modules", | |
"test": "cross-env NODE_ENV=test nyc mocha-webpack --webpack-config webpack.config.js --require test/setup.js test/**/*.spec.js", | |
"test-debug": "cross-env NODE_ENV=test nyc node --inspect-brk ./node_modules/mocha-webpack/lib/cli --webpack-config webpack.config.js --require test/setup.js test/**/*.spec.js" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment