0.0.1 • Published 6 years ago

istanbul-reporter-html-internal-css v0.0.1

Weekly downloads
211
License
MIT
Repository
-
Last release
6 years ago

Istanbul Reporter HTML Internal CSS

This is a custom istanbuljs reporter to generate an HTML code coverage report with internal CSS. It is intended for use with the VSTS build code coverage tab which doesn't load external files for security reasons. It is a hacked copy of the HTML reporter from istanbuljs/packages/istanbul-reports/lib/html.

Installing

In your project:

npm install -i istanbul-reporter-html-internal-css --save-dev

Then run nyc with this custom reporter from the command line:

nyc --reporter=istanbul-reporter-html-internal-css

Or, change your npm scripts for your project in package.json:

  (...)
  "scripts": {
    "test": "nyc --reporter=istanbul-reporter-html-internal-css"
  },
  (...)

Getting Started

Run nyc with this custom reporter and your HTML coverage report will be generated. The entry point is coverage/index.html.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details