Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 702 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 702 Bytes

web-perf-monitor (Work in Progress)

A simple project to automate the generation of reports about web performance for the following apps:

  • Dashboard
  • Editor
  • Preview

It uses Puppeteer to generate reports using Lighthouse.

Setup

Requirement: Node.js > v16

Create a file .env at the root level of your project and enter you email and password, used to run the login

[email protected]
PASSWORD=*******

Install dependencies

npm install

Running it

This will run Lighthouse against some URLs and display the performance score

npx ts-node --esm ./src/get-scores-simple.ts