Merge pull request #3 from mjul/patch-1

Feature by @mjul: Add target to run tests continuously
This commit is contained in:
Chris
2015-10-21 07:45:25 +02:00
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -38,6 +38,9 @@ npm run dist
# Run unit tests
npm test
# Run the unit tests continuously (repeat the test when code changes are saved)
npm run test:watch
# Lint all files in src (also automatically done AFTER tests are run)
npm run lint
@@ -67,3 +70,4 @@ react-webpack-template is available under MIT-License and can therefore be used
## Contributors
- Weblogixx (cs@weblogixx.de)
- Martin Jul (martin@mjul.com)
+1
View File
@@ -6,6 +6,7 @@
"scripts": {
"start": "node server.js --env=dev",
"test": "karma start",
"test:watch": "karma start --singleRun=false",
"posttest": "npm run lint",
"serve": "node server.js --env=dev",
"serve:dist": "node server.js --env=dist",