Skip to content

Commit

Permalink
Update: Switch coverage tool to nyc and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
sttk committed Jun 6, 2019
1 parent 6733017 commit b2aac2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintignore
@@ -1 +1,2 @@
test/fixtures
coverage/
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -12,6 +12,8 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
.nyc_output


# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -21,19 +21,19 @@
"lint": "eslint .",
"pretest": "rm -rf tmp/ && npm run lint",
"test": "mocha --async-only",
"cover": "istanbul cover _mocha --report lcovonly",
"coveralls": "npm run cover && istanbul-coveralls"
"cover": "nyc --reporter=lcov --reporter=text-summary npm test",
"coveralls": "nyc --reporter=text-lcov npm test | coveralls"
},
"dependencies": {},
"devDependencies": {
"coveralls": "github:phated/node-coveralls#2.x",
"eslint": "^2.13.0",
"eslint-config-gulp": "^3.0.1",
"expect": "^1.20.2",
"istanbul": "^0.4.3",
"istanbul-coveralls": "^1.0.3",
"mocha": "^3.5.3",
"parse-node-version": "^1.0.0",
"rechoir": "^0.7.0",
"nyc": "^10.3.2",
"shelljs": "0.7.5"
},
"keywords": [
Expand Down

0 comments on commit b2aac2f

Please sign in to comment.