nyc-config-common
A reusable nyc configuration to improve common workflow
Last updated 2 years ago by shinnn .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nyc-config-common 
SYNC missed versions from official npm registry.

nyc-config-common

npm version Build Status

A reusable nyc configuration to improve common workflow

Installation

Use npm.

npm install --save-dev nyc-config-common

Usage

Include this package to the project's nyc configuration.

{
  "nyc": {
    "extends": "nyc-config-common"
  }
}

Then nyc command uses the better default settings whenever it's run, as described below:

On non-CI environments

  • Runs both html and text reporter in every nyc execution
  • Writes raw coverage information to coverage directory where HTML reports are also saved, instead of the default .nyc_output
    • So that users don't need to include .nyc_output to their .gitignore

On CI

For example Travis CI and AppVeyor

  • Uses text-lcov reporter by default while executing report subcommand
    • In most case nyc report is expected to print LCOV on CI to integrate coverage report services

License

ISC License © 2018 Shinnosuke Watanabe

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

3 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 6
Last Month 15
Dependencies (0)
None
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |