Skip to content

Need to read NYC options from package.json #192

Closed
@bahmutov

Description

@bahmutov

If the user sets nyc options in package.json file, they are ignored when generating the report:

{
  "nyc": {
    "exclude": ["src/serviceWorker.ts"]
  }
}

Screen Shot 2020-04-15 at 10 00 41 AM

This is because we do not use nyc report ... CLI command that reads all options and merges them, but we are using the NPM module API

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions