Add coverage command

This commit is contained in:
Maxime Thirouin
2014-05-04 08:26:31 +02:00
parent dd590bae28
commit cac43b7c59

View File

@@ -28,13 +28,17 @@
"src"
],
"devDependencies": {
"browserify": "^3.46.0",
"coverify": "^1.0.6",
"jscs": "^1.6.2",
"jshint": "^2.5.6",
"tape": "^3.0.0"
"tape": "^3.0.0",
"testling": "^1.6.1"
},
"scripts": {
"lint": "jscs **/*.js && jshint . --exclude-path .gitignore",
"test": "npm run lint"
"test": "npm run lint && testling",
"coverage": "browserify -t coverify tests/**/*.js | testling | coverify"
},
"testling": {
"files": "tests/**/*.js",