2021.5.28 • Published 3 years ago

@webb/config-nyc v2021.5.28

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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