Skip to content

Commit

Permalink
docs: documentation on how to use and load custom reporters (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrocarrico authored and bcoe committed Apr 7, 2018
1 parent 1f4f6ae commit 9cbcc81
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@ nyc report --reporter=lcov

You can find examples of the output for various reporters [here](https://istanbul.js.org/docs/advanced/alternative-reporters).

You also have the choice of using a [custom reporter](https://github.com/pedrocarrico/istanbul-reporter-aws-cloudwatch-metrics).
Install custom reporters as a development dependency and you can use the `--reporter` flag to load and view them:

```bash
nyc report --reporter=<custom-reporter-name>
```

## Excluding files

You can tell nyc to exclude specific files and directories by adding
Expand Down

0 comments on commit 9cbcc81

Please sign in to comment.