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.
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
This will run Lighthouse against some URLs and display the performance score
npx ts-node --esm ./src/get-scores-simple.ts