This is an Astro site that displays performance metrics for other Astro sites!
It is based on Zach Leatherman’s awesome Speedlify tool and uses the same underlying measurement techniques.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install |
Installs dependencies |
pnpm run collect-stats |
Run Lighthouse tests for all sites |
pnpm run dev |
Starts local dev server at localhost:3000 |
pnpm run build |
Build the production site to ./dist/ |
pnpm run preview |
Preview the build locally, before deploying |