0.5.0 • Published 7 years ago

@zokugun/istanbul.cover v0.5.0

Weekly downloads
-
License
-
Repository
github
Last release
7 years ago

@zokugun/istanbul.cover

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.