diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json index 6e7282b..601f50f 100644 --- a/package.json +++ b/package.json @@ -20,10 +20,12 @@ "license": "MIT", "devDependencies": { "benchmark": "bestiejs/benchmark.js", + "coveralls": "^2.11.2", "jshint": "~2.7.0", "lodash": ">=2.4.1", "mkdirp": "~0.5.1", "nodeunit": ">0.0.0", + "nyc": "^2.1.0", "uglify-js": "1.2.x", "yargs": "~3.9.1" }, @@ -40,7 +42,9 @@ }, "scripts": { "test": "npm run-script lint && nodeunit test/test-async.js", - "lint": "jshint lib/*.js test/*.js perf/*.js" + "lint": "jshint lib/*.js test/*.js perf/*.js", + "coverage": "nyc npm test && nyc report", + "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls" }, "spm": { "main": "lib/async.js" |