@webb/config-nyc
v2021.5.28
Published
Opinionated Istanbul configuration
Downloads
2
Readme
@webb/config-nyc
Opinionated Istanbul configuration
Install
# Install this module, with Istanbul's CLI
$ npm i nyc @webb/config-nyc -D
Usage
.nycrc
{
"extends": "@webb/config-nyc"
}
package.json
{
"nyc": {
"extends": "@webb/config-nyc"
}
}
Notes
- This configuration is focused on TypeScript development. It should still work for ES5 projects, just specify the file extensions you wish to target for code coverage.
- You should enable sourcemaps in your
tsconfig.json
file.