Skip to content

Commit

Permalink
fix: clean up package.json
Browse files Browse the repository at this point in the history
The HTML coverage reporter is dropped with mocha 3.0.0
See mochajs/mocha#2356
  • Loading branch information
mischah committed Jul 19, 2017
1 parent ab17b63 commit bde6e53
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"scripts": {
"lint": "xo",
"test": "mocha",
"preparepublish": "npm run coveralls",
"posttest": "npm run lint && npm run coverage",
"coverage": "mocha -r blanket -R html-cov > coverage.html",
"coveralls": "NODE_ENV=test YOURPACKAGE_COVERAGE=1 mocha --require blanket --reporter mocha-lcov-reporter | coveralls"
},
"files": [
Expand Down Expand Up @@ -63,9 +60,9 @@
],
"esnext": false,
"rules": {
"capitalized-comments": ["off"],
"unicorn/filename-case": ["off"],
"array-callback-return": ["off"]
"capitalized-comments": ["warn"],
"unicorn/filename-case": ["warn"],
"array-callback-return": ["warn"]
}
},
"config": {
Expand Down

0 comments on commit bde6e53

Please sign in to comment.