Skip to content

Commit

Permalink
Merge pull request #10 from sarbbottam/fix-check-coverage
Browse files Browse the repository at this point in the history
fixed #9 use `ava` instead of `npm t` for `cover`
  • Loading branch information
Kent C. Dodds committed Mar 17, 2016
2 parents e290111 + 7633b12 commit 0426965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -14,7 +14,6 @@ before_script:
- npm prune
script:
- npm run validate
- npm run check-coverage
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -4,13 +4,13 @@
"description": "Use this to save yourself some time when working on a webpack configuration.",
"main": "index.js",
"scripts": {
"cover": "nyc --reporter=lcov --reporter=text npm t",
"cover": "nyc --reporter=lcov --reporter=text ava",
"test": "ava",
"lint": "eslint .",
"check-kentcdodds": "./bin.js eslint-config-kentcdodds",
"update-contributors": "all-contributors generate",
"commit": "git-cz",
"validate": "npm-run-all --parallel lint cover",
"validate": "npm-run-all --parallel lint cover --sequential check-coverage",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"check-coverage": "nyc check-coverage --statements 71 --branches 33 --functions 100 --lines 71",
"report-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codecov"
Expand Down

0 comments on commit 0426965

Please sign in to comment.