Opinionated Istanbul configuration
# Install this module, with Istanbul's CLI
$ npm i nyc @webb/config-nyc -D
{
"extends": "@webb/config-nyc"
}
{
"nyc": {
"extends": "@webb/config-nyc"
}
}
- 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.