@sophonjs/config-nyc
v1.1.2
Published
Common test coverage configuration for `SophonJS` libraries.
Downloads
4
Readme
@sophonjs/config-nyc
Common test coverage configuration for SophonJS
libraries.
Tool: nyc
Supported Version: ^11.7.0
Exposed CLI commands:
sophonjs-config-coverage
sophonjs-config-coveralls
Usage
Add .nycrc
:
{
"extends": "@sophonjs/config-nyc"
}
Use CLI commands above in package.json
:
"scripts": {
"coverage": "sophonjs-config-coverage",
"coveralls": "sophonjs-config-coveralls"
}