Skip to content

Commit

Permalink
test: Add coveralls suport?
Browse files Browse the repository at this point in the history
  • Loading branch information
q2s2t committed Sep 28, 2018
1 parent 4149589 commit dcf83fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"description": "A Node.js wrapper for 7-Zip with platform binaries",
"main": "lib/index.js",
"scripts": {
"test": "./node_modules/.bin/mocha -r esm",
"coverage": "./node_modules/.bin/nyc --reporter=html ./node_modules/.bin/mocha -r esm"
"test": "npx mocha -r esm",
"coverage": "npx nyc --reporter=html --reporter=lcov npx mocha -r esm",
"coveralls": "npx nyc report --reporter=text-lcov | npx coveralls"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -52,6 +53,7 @@
"devDependencies": {
"chai": "^4.1.2",
"chalk": "^2.4.1",
"coveralls": "^3.0.2",
"mocha": "^5.0.0",
"nyc": "^12.0.2",
"standard": "^11.0.1"
Expand Down

0 comments on commit dcf83fb

Please sign in to comment.