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 4, 2018
1 parent 7d4ea9b commit 8798425
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,14 @@
"license": "MIT",
"main": "lib/index.js",
"nyc": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"lib/*.js",
"!lib/*.bundle.js"
],
"reporter": [
"lcov",
"text"
"json",
"text",
"html"
],
"all": true
},
Expand Down Expand Up @@ -101,9 +98,8 @@
},
"scripts": {
"clean": "rimraf test/fixtures/.tmp && rimraf coverage && rimraf .nyc_output",
"codecov": "codecov",
"codecov": "codecov -f coverage/coverage-final.json",
"compile": "rimraf lib && babel src --only index.js --source-maps --out-dir lib && rollup -c build/rollup.config.js",
"coverage": "nyc check-coverage",
"lint": "eslint src test package.json",
"prepare": "npm run compile",
"prepublishOnly": "npm run compile",
Expand Down

0 comments on commit 8798425

Please sign in to comment.