mirror of
https://github.com/CryptKeeperZK/ejs.git
synced 2026-01-09 07:27:56 -05:00
Add a coverage script that tracks test coverage with istanbul
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -16,3 +16,4 @@ site/log/*
|
||||
npm-debug.log
|
||||
doc/
|
||||
test/tmp
|
||||
coverage/
|
||||
|
||||
@@ -24,12 +24,14 @@
|
||||
"browserify": "^8.0.3",
|
||||
"uglify-js": "^2.4.16",
|
||||
"mocha": "^2.1.0",
|
||||
"jake": "^8.0.0"
|
||||
"jake": "^8.0.0",
|
||||
"istanbul": "~0.3.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
"test": "mocha",
|
||||
"coverage": "istanbul cover node_modules/mocha/bin/_mocha"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user