A beautifully simple CLI for running Lighthouse audits on a statically generated (SSG) website.
Beam automates the process of testing a statically generated website during development by finding and testing the pages within your build directory. Beam strives to be simple-to-use with sensible defaults whilst allowing a range of useful options to customise it's behaviour to suit your needs.
Features:
- Interactive terminal GUI for viewing and exploring the Lighthouse audit results for each page.
- Supports Brotli compression so you can see the actual transfer sizes.
- Automatically crawls through your build folder to find all the pages to test.
- Glob patterns can be specified to customise the crawling results.
- Testing in
mobile
,desktop
, or both Lighthouse presets. - Ability to set page Media features (such as
prefers-color-scheme
). - Ability to specify different Lighthouse options for each page.
- Save detailed Lighthouse reports to a folder of your choice.
- node ^14.13.1 || >=16.0.0
npm install --location=global beam-cli
Please read the getting started guide for a more detailed guide.
beam --setup
beam
👤 Mark Silverwood
- Website: marksilverwood.com
- Github: @SlicedSilver
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2022 Mark Silverwood.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator