Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 996 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 996 Bytes

MIT licensed

@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.