Add coverage command
This commit is contained in:
@@ -28,13 +28,17 @@
|
|||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"browserify": "^3.46.0",
|
||||||
|
"coverify": "^1.0.6",
|
||||||
"jscs": "^1.6.2",
|
"jscs": "^1.6.2",
|
||||||
"jshint": "^2.5.6",
|
"jshint": "^2.5.6",
|
||||||
"tape": "^3.0.0"
|
"tape": "^3.0.0",
|
||||||
|
"testling": "^1.6.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "jscs **/*.js && jshint . --exclude-path .gitignore",
|
"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": {
|
"testling": {
|
||||||
"files": "tests/**/*.js",
|
"files": "tests/**/*.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user