Skip to content

Commit

Permalink
Merge pull request #14 from haraka/nyc
Browse files Browse the repository at this point in the history
coverage: replace deprecated istanbul with nyc
  • Loading branch information
msimerson committed Jan 17, 2020
2 parents e2eddf6 + d748927 commit 5e4d500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ script:
- npm test

after_success:

- npm install istanbul codecov
- npm install nyc codecov
- npm run cover
- npx codecov

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"lint": "npx eslint *.js test/*.js",
"lintfix": "npx --fix *.js test/*.js",
"cover": "npx istanbul cover npm test",
"cover": "npx nyc --reporter=lcov npm run test",
"test": "npx mocha"
},
"repository": {
Expand All @@ -29,5 +29,6 @@
"haraka-constants": "*",
"mocha": "*"
},
"dependencies": {}
"dependencies": {
}
}

0 comments on commit 5e4d500

Please sign in to comment.