Add coverage command
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user