npm.io
0.1.1 • Published 6 years agoCLI

@codewithkyle/lightkeeper

Licence
GPL-3.0
Version
0.1.1
Deps
8
Size
47 kB
Vulns
0
Weekly
0

Lightkeeper

An automated lighthouse testing, reporting, and budgeting CLI tool.

Installation

Install the NPM package:

npm i -D @codewithkyle/lightkeeper

Add the script:

"scripts": {
    "audit": "lightkeeper"
}

Run the audit:

npm run audit

Settings

To test the same URL every time use the -u flag.

To output the lightkeeper report JSON add an output directory with the -o flag.

"scripts": {
    "audit": "lightkeeper -u https://example.com/ -o ./audits"
}