Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
:bowtie: Only run report in coverage script
Browse files Browse the repository at this point in the history
As opposed to running the full suite of tests again

Closes #379
  • Loading branch information
willclarktech committed Dec 5, 2017
1 parent 5ea0ad6 commit c3a6428
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -13,10 +13,11 @@
"test:watch:min": "npm run test:watch -- --reporter=min",
"cover":
"if [ -z $JENKINS_HOME ]; then npm run cover:local; else npm run cover:ci; fi",
"cover:base": "NODE_ENV=test nyc report",
"cover:local":
"NODE_ENV=test nyc --reporter=html --reporter=text mocha",
"npm run cover:base -- --reporter=html --reporter=text mocha",
"cover:ci":
"NODE_ENV=test nyc --reporter=text-lcov mocha | coveralls -v",
"npm run cover:base -- --reporter=text-lcov mocha | coveralls -v",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --write \"{bin,src,test}{,/**}/*.js\"",
Expand Down

0 comments on commit c3a6428

Please sign in to comment.