Permalink
Browse files

chore(build): clean up coverage commands

  • Loading branch information...
Simone Lusenti
Simone Lusenti committed Mar 31, 2017
1 parent 83bb280 commit ce30788a2b47508a23877ac7357a72bcf3f77a6e
Showing with 5 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +1 −2 .travis.yml
  3. +3 −2 package.json
View
@@ -1,3 +1,4 @@
coverage.lcov
.coveralls.yml
coverage/*
node_modules
View
@@ -4,5 +4,4 @@ node_js:
before_install:
- pip install --user codecov
after_success:
- npm run coverage-upload
- codecov
- npm run coverage
View
@@ -14,8 +14,9 @@
"lint:watch": "nodemon -w src -x npm -- run lint",
"prepublish": "npm run clean && npm run compile",
"pre-commit": "npm run lint",
"coverage-upload": "npm run -s coverage-report | coveralls",
"coverage-report": "nyc report --check-coverage --functions 100 --lines 100 --statements 100 --reporter=text-lcov",
"coverage-coveralls": "nyc report --reporter=text-lcov | coveralls",
"coverage-codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"coverage": "npm run coverage-coveralls && npm run coverage-codecov",
"test": "npm run lint && nyc ava src/**/*.spec.js",
"commit": "git-cz"
},

0 comments on commit ce30788

Please sign in to comment.