Skip to content

Commit 9cbcc81

Browse files
pedrocarricobcoe
authored andcommittedApr 7, 2018
docs: documentation on how to use and load custom reporters (#804)
1 parent 1f4f6ae commit 9cbcc81

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎README.md

+7
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,13 @@ nyc report --reporter=lcov
192192

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

195+
You also have the choice of using a [custom reporter](https://github.com/pedrocarrico/istanbul-reporter-aws-cloudwatch-metrics).
196+
Install custom reporters as a development dependency and you can use the `--reporter` flag to load and view them:
197+
198+
```bash
199+
nyc report --reporter=<custom-reporter-name>
200+
```
201+
195202
## Excluding files
196203

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

0 commit comments

Comments
 (0)
Please sign in to comment.