0.0.3 • Published 8 years ago

map-coverage v0.0.3

Weekly downloads
5
License
LGPL-3.0
Repository
github
Last release
8 years ago

map-coverage

Generate coverage files from your source maps.

Very useful for modules built with Typescript, JSX, or anything that uses a transpiler such as Babel or Traceur.

Usage

Simply, npm i --save-dev map-coverage and then in package.json:

(Replace istanbul with whatever you use)

{
  "scripts": {
    "coverage": "istanbul cover _mocha",
    "postcoverage": "map-coverage"
  }
}

You'll end up with a file coverage/lcov-mapped.info, given that you have coverage/lcov.info.

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago