add coveralls

This commit is contained in:
Thomas Ruoff
2016-03-06 22:38:09 +01:00
parent 0adc89d2d9
commit 372eaab45e

View File

@@ -4,7 +4,7 @@
"description": "Simple helper for turning on/off connected/disconnected monitors with xrandr", "description": "Simple helper for turning on/off connected/disconnected monitors with xrandr",
"main": "cli.js", "main": "cli.js",
"scripts": { "scripts": {
"test": "istanbul cover _mocha", "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",
"testwatch": "mocha -w" "testwatch": "mocha -w"
}, },
"bin": { "bin": {
@@ -30,8 +30,10 @@
"xrandr-parse": "^0.1.1" "xrandr-parse": "^0.1.1"
}, },
"devDependencies": { "devDependencies": {
"coveralls": "^2.11.8",
"istanbul": "^0.4.2", "istanbul": "^0.4.2",
"mocha": "^2.4.5", "mocha": "^2.4.5",
"mocha-lcov-reporter": "^1.2.0",
"proxyquire": "^1.7.4", "proxyquire": "^1.7.4",
"sinon": "^1.17.3" "sinon": "^1.17.3"
} }