Skip to content

Commit

Permalink
chore: use Codecov to check for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Jan 14, 2018
1 parent 4c47baf commit 4b15d36
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,12 @@
"license": "MIT",
"main": "lib/index.js",
"nyc": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"lib/**/*.js"
],
"reporter": [
"lcov",
"html",
"json",
"text"
],
"all": true
Expand All @@ -92,9 +89,8 @@
},
"scripts": {
"clean": "rimraf coverage && rimraf .nyc_output",
"codecov": "codecov",
"codecov": "codecov -f coverage/coverage-final.json",
"compile": "rimraf lib && babel src --source-maps --out-dir lib",
"coverage": "nyc check-coverage",
"lint": "eslint src test package.json",
"prepublishOnly": "npm run compile",
"pretest": "npm run clean && npm run compile && npm run lint",
Expand Down

0 comments on commit 4b15d36

Please sign in to comment.