@zokugun/istanbul.cover
v0.5.0
Published
Control how Istanbul covers your code and generates the reports
Downloads
1
Readme
@zokugun/istanbul.cover
@zokugun/istanbul.cover allows you to configure how Istanbul covers your code generates the reports.
Configuration
It will look for the config file istanbul.json
{
"reporting": {
"print": "summary",
"reports": [
"minimap:@zokugun/istanbul.reporter.minimap"
],
"watermarks": {
"statements": [80, 90],
"lines": [80, 90],
"functions": [80, 90],
"branches": [70, 80]
}
},
"cover": {
"cmd": "@zokugun/istanbul.cover.cmd.mocha",
"args": ["-R", "spec"]
}
}
Execute
To launch Istanbul, use the command node node_modules/zokugun.istanbul.cover/src/cli.js
.
License
Copyright © 2016 Baptiste Augrain
Licensed under the MIT license.