fix coveralls?

This commit is contained in:
jomo 2014-11-08 04:36:25 +01:00
parent 987cbe911a
commit f9fe00b36c
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ skins/*/*.png
node_modules/ node_modules/
.DS_Store .DS_Store
*.rdb *.rdb
coverage/

View File

@ -22,7 +22,7 @@
], ],
"scripts": { "scripts": {
"start": "node server.js", "start": "node server.js",
"test": "mocha | coveralls", "test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
}, },
"dependencies": { "dependencies": {
"body-parser": "~1.8.1", "body-parser": "~1.8.1",
@ -30,6 +30,7 @@
"coveralls": "^2.11.2", "coveralls": "^2.11.2",
"debug": "~2.0.0", "debug": "~2.0.0",
"express": "~4.9.0", "express": "~4.9.0",
"istanbul": "^0.3.2",
"jade": "~1.6.0", "jade": "~1.6.0",
"lwip": "0.0.5", "lwip": "0.0.5",
"mocha": "2.0.1", "mocha": "2.0.1",