Skip to content

Commit

Permalink
⚒ fix coverage setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed May 2, 2019
1 parent d4f104c commit 3e4542f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .nycrc
@@ -0,0 +1,14 @@
{
"include": [
"lib/**/*.js"
],
"exclude": [
"lib/rules/no-hide-core-modules.js",
"lib/rules/no-unsupported-features.js"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": true
}
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -34,8 +34,8 @@
"scripts": {
"build": "node scripts/update.js",
"clean": "rimraf .nyc_output coverage",
"codecov": "nyc report -r lcovonly && codecov",
"coverage": "nyc report -r lcov && opener ./coverage/lcov-report/index.html",
"codecov": "codecov",
"coverage": "opener ./coverage/lcov-report/index.html",
"lint": "eslint lib scripts tests/lib .eslintrc.js",
"test": "nyc npm run -s test:_mocha",
"test:_mocha": "_mocha tests/lib/**/*.js --reporter progress",
Expand Down

0 comments on commit 3e4542f

Please sign in to comment.