Skip to content

Commit

Permalink
Update npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
diegohaz committed Jan 15, 2017
1 parent a026878 commit 8e6da9f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions generators/app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
"scripts": {
"start": "node .",
"test": "jest",
"test:unit": "npm test '<%= srcDir %>/**/!(*.router*).test.js'",
"test:integration": "npm test '<%= srcDir %>/**/*.router.test.js'",
"coverage": "npm test -- --coverage && opn coverage/lcov-report/index.html",
"dev": "nodemon -i '*.test.js' .",
"prod": "cross-env NODE_ENV=production nodemon -i '*.test.js' -r dotenv-safe/config .",
"lint": "eslint '<%= srcDir %>/**/*.js'",
"docs": "apidoc -i <%= srcDir %> -o docs && apidoc-markdown -p docs -o DOCS.md && opn docs/index.html"
"test:unit": "npm test \"<%= srcDir %>/**/!(index).test.js\"",
"test:integration": "npm test \"<%= srcDir %>/**/index.test.js\"",
"coverage": "npm test -- --coverage",
"postcoverage": "opn coverage/lcov-report/index.html",
"dev": "nodemon -i \"*.test.js\" .",
"prod": "cross-env NODE_ENV=production nodemon -i \"*.test.js\" -r dotenv-safe/config .",
"lint": "eslint <%= srcDir %>",
"docs": "apidoc -i <%= srcDir %> -o docs && apidoc-markdown -p docs -o DOCS.md",
"postdocs": "opn docs/index.html"
},
"jest": {
"testEnvironment": "node",
Expand Down

0 comments on commit 8e6da9f

Please sign in to comment.