Skip to content

Commit

Permalink
Move coverage script into npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyruppel committed Aug 19, 2016
1 parent 3b9a706 commit 52d8205
Showing 3 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -8,6 +8,6 @@ before_script:
- npm run lint
script:
- npm run build
- npm test
- npm test --coverage
after_script:
- npm run coverage
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -21,9 +21,9 @@
"main": "./lib/index.js",
"scripts": {
"lint": "eslint .",
"test": "mocha",
"coverage": "./script/coverage.sh",
"test": "istanbul test _mocha",
"build": "./script/build.sh",
"coverage": "cat ./coverage/lcov.info | coveralls",
"prepublish": "npm run build"
},
"repository": {
11 changes: 0 additions & 11 deletions script/coverage.sh

This file was deleted.

0 comments on commit 52d8205

Please sign in to comment.