Skip to content

Instantly share code, notes, and snippets.

@lydemann
Created July 9, 2018 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lydemann/6ee8f33c6bc24642a0f43f8ac3fedb99 to your computer and use it in GitHub Desktop.
Save lydemann/6ee8f33c6bc24642a0f43f8ac3fedb99 to your computer and use it in GitHub Desktop.
package.json with test scripts
"scripts": {
"ng": "ng",
"start": "nodemon server | ng serve",
"build": "ng build --prod",
"test": "ng test --prod",
"test:watch": "ng test --source-map=false -c all-watch",
"test:unit": "ng test -c unit",
"test:unit:watch": "ng test -c unit-watch",
"test:unit:watch:no-sm": "ng test --source-map=false -c unit-watch",
"test:integration": "ng test -c integration",
"test:integration:watch": "ng test -c integration-watch",
"test:integration:watch:no-sm": "ng test --source-map=false -c integration-watch",
"lint": "ng lint",
"e2e": "ng e2e"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment