Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@toolisticon/istanbul-coveralls

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toolisticon/istanbul-coveralls

A simple alias for istanbul + coveralls

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

istanbul-coveralls

[npm version] Build Status Coverage Status Dependency Status devDependency Status

A simple alias for istanbul + node-coveralls

istanbul cover test.js && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage

istanbul cover test.js && istanbul-coveralls

Installation

Use npm.

npm install --save-dev istanbul istanbul-coveralls

Usage

  1. Write a coverage information file under ./coverage by using istanbul cover command or the API of istanbul.
  2. Run istanbul-coveralls command. See the docs of node-coveralls for more information about its usage.

Option

--no-rm

By default, it removes ./coverage after coverage reporting. If --no-rm flag is enabled, it doesn't remove the directory.

istanbul cover test.js && istanbul-coveralls --no-rm

Example

Mocha

istanbul cover ./node_modules/.bin/_mocha && ./node_modules/.bin/istanbul-coveralls

If you run the test as a npm script, you can omit directory names from the command.

istanbul cover _mocha && istanbul-coveralls

License

Copyright (c) 2014 - 2016 Shinnosuke Watanabe

Licensed under the MIT LIcense.

Keywords

FAQs

Package last updated on 04 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc