ng-lint-report

0.2.0 • Public • Published

ng-lint-report

Generates HTML report for angular lint JSON output

Install

npm install --save-dev ng-lint-report

Setup

In package.json add following scripts

{
    "scripts": {
        "lint": "ng lint --format json --silent > jsonOutput.json",
        "report": "ng-lint-report --jsonfile jsonOutput.json",
        "ng-lint": "npm run lint && npm run report"
    }
}

In command line run following script command:

npm run ng-lint

Options

--jsonfile : JSON file path in current root directory
--output   : Output folder name or path [defaults to "ng-lint-report"]
--filename : Output file name [defaults to "report.html"]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1,200
    • latest

Version History

Package Sidebar

Install

npm i ng-lint-report

Weekly Downloads

1,597

Version

0.2.0

License

MIT

Unpacked Size

15.4 kB

Total Files

7

Last publish

Collaborators

  • scssyworks