@seantrane/nyc-config-typescript-80

An extendable istanbuljs/nyc configuration for TypeScript, requiring 80% code coverage

Usage no npm install needed!

<script type="module">
  import seantraneNycConfigTypescript80 from 'https://cdn.skypack.dev/@seantrane/nyc-config-typescript-80';
</script>

README

@seantrane/nyc-config-typescript-80

An extendable istanbuljs/nyc configuration for TypeScript, requiring 80% code coverage.


npm latest version npm next version npm downloads per week npm total downloads

Table of Contents


About the Package

This package is an extendable nyc configuration for TypeScript codebases. The configuration requires at least 80% code coverage, with watermarks at 75% and 85%.

Learn more about nyc configuration.

Install

npm install -D @seantrane/nyc-config-typescript-80

Usage

Use the "extends": "@seantrane/nyc-config-typescript-80" property in your nyc config, then add any additional configuration as required.

Using package.json file:

{
  "nyc": {
    "extends": "@seantrane/nyc-config-typescript-80"
  }
}

Using .nycrc file:

{
  "extends": "@seantrane/nyc-config-typescript-80"
}

Support

Submit an issue, in which you should provide as much detail as necessary for your issue.

Contributing

Contributions are always appreciated. Read CONTRIBUTING.md documentation to learn more.

Changelog

Release details are documented in the CHANGELOG.md file, and on the GitHub Releases page.


License

MIT License

Copyright (c) 2018 Sean Trane Sciarrone