Switch to Codecov

Fixes #186.
This commit is contained in:
Timothy Gu 2016-10-13 00:32:52 -07:00
parent 67326e3873
commit ea111626e9
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
"prepublish": "npm run build",
"test": "mocha --compilers js:babel-polyfill --compilers js:babel-register test/test.js",
"report": "cross-env BABEL_ENV=test nyc --reporter lcov --reporter text mocha -R spec test/test.js",
"coverage": "cross-env BABEL_ENV=test nyc --reporter lcovonly mocha -R spec test/test.js && cat ./coverage/lcov.info | coveralls"
"coverage": "cross-env BABEL_ENV=test nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json"
},
"repository": {
"type": "git",
@ -36,7 +36,7 @@
"chai": "^3.5.0",
"chai-as-promised": "^5.2.0",
"chai-iterator": "^1.1.1",
"coveralls": "^2.11.2",
"codecov": "^1.0.1",
"cross-env": "2.0.1",
"form-data": ">=1.0.0",
"mocha": "^2.1.0",