Skip to content

FilipStenbeck/lighthouse-report

Repository files navigation

Lighthouse report

semantic-release Commitizen friendly

Runs lighthouse audit using headless chrome.

Run

In command line run

./start.sh

Or using docker-compose

docker build . -t lighthouse-report:latest
docker-compose up

Project structure

The project includes both scripts needed for running the audits and a webserver to serve the reports online

lighthouse-report
  ├── config (application config for example which audits to run)
  ├── scripts (everything related to running and generating reports)
  └── web (node.js express server for serving reports online)
  │   ├── routes
  │   └── views
  └── start.sh (Start script, starting both scrupt runnner and web server)

Add sites to to audit

Add the URL and name of the page you want to audit in the file /config/audits.json For example

{
    "name": "foobar-startpage",
    "url": "https://www.foobar.com/"
  }

About

Runs lighthouse headless and reports result

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published