0.1.2 • Published 7 years ago

template-loader-lcov-fix v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

template-loader-lcov-fix

Build Status Code Climate Test Coverage standard-readme compliant

Transform module for changing the file paths of LCOV source files within an LCOV file that uses the angular2-template-loader for code coverage. Handles individual calls or streams (e.g., stdin and stdout).

Table of Contents

Use

To use this module, install it and integrate it into your code coverage publishing pipeline.

See the gulpfile for tasks related to building the module.

Install

Install this module globally via npm install -g template-loader-lcov-fix or as a devdependency.

Usage

The intended use of this module is to act as a transform pipe for LCOV files that include paths to angular2-template-loader outputs. Once it is available on the path, it can accept a file path and output the fixed / transformed file that includes source paths that do not include the angular2-template-loader prefix. For example:

template-loader-lcov-fix < lcov.original > lcov.fixed

API

Contribute

PRs accepted.

License

See LICENSE for details