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"]

/ng-lint-report/

    Package Sidebar

    Install

    npm i ng-lint-report

    Weekly Downloads

    1,251

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    15.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • scssyworks