Skip to content

Commit

Permalink
add coveralls script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Escalante committed Jul 17, 2014
1 parent d24b4b6 commit b166c3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"chai-as-promised": "4.x",
"coffee-script": "1.7.x",
"coffeelint": "*",
"coveralls": "2.x",
"istanbul": "*",
"lodash": "2.x",
"mocha": "*",
Expand All @@ -22,7 +23,8 @@
"scripts": {
"test": "npm run lint && mocha",
"lint": "find lib/ -name '*.coffee' | xargs coffeelint",
"coverage": "make build; istanbul cover _mocha --report html -- -R spec && open coverage/index.html && make unbuild"
"coverage": "make build; istanbul cover _mocha --report html -- -R spec && open coverage/index.html && make unbuild",
"coveralls": "make build; istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage; make unbuild"
},
"engines": {
"node": ">=0.10.0"
Expand Down

0 comments on commit b166c3c

Please sign in to comment.