Preferably, though, you'll want to add istanbul
to your project so you can pin down the version you need and have it available on your CI.
There's no need to commit the coverage reports.
To make things a bit easier, add a script to your package.json
to run this. After that, just invoke npm run coverage
.
If you're using Travis to automate your tests, you can also set it up to show coverage reports on your builds. Looks like this.