lighthouse-test
v0.0.1
Published
Bare bones lighthouse testing CLI tool.
Downloads
2
Readme
Lighthouse Testing
A simple CLI tool for automated lighthouse testing.
Setup
Intstall
yarn add lighthouse-test
Run
lighthouse-test https://google.com 50
# First param is the URL to test
# Second param is the minimum score required to pass the test
Use In Project
package.json
{
// ...
"scripts": {
"lighthouse": "lighthouse-test http://localhost:9000 90"
}
// ..
}
Future Improvements
- Use a config file, or config settings in package.json
- Multiple URLS
- Turn off certain tests, i.e. ignore PWA score
Inspiration
Code & concepts inspired by this article.