Skip to content

Commit a89425b

Browse files
committed
Merge pull request #62 from graphql/coveralls
Simplify coveralls script
2 parents a0976e8 + 74c4c92 commit a89425b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@
3838
"testonly": "mocha $npm_package_options_mocha",
3939
"lint": "eslint src",
4040
"check": "flow check",
41-
"cover": "babel-node node_modules/.bin/isparta cover --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
4241
"build": "rm -rf lib/* && babel src --ignore __tests__ --out-dir lib",
4342
"watch": "babel scripts/watch.js | node",
44-
"coveralls": "babel-node node_modules/.bin/isparta cover --report html node_modules/.bin/_mocha --report lcovonly -- $npm_package_options_mocha && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
43+
"coveralls": "isparta cover --root src --report lcovonly node_modules/.bin/_mocha -- $npm_package_options_mocha && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
4544
},
4645
"dependencies": {
4746
"babel-runtime": "5.7.0"

0 commit comments

Comments
 (0)