@codewithkyle/lightkeeper

Automated lighthouse testing, reporting, and budgeting

Usage no npm install needed!

<script type="module">
  import codewithkyleLightkeeper from 'https://cdn.skypack.dev/@codewithkyle/lightkeeper';
</script>

README

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