Takes lighthouse JSON data and makes it a pretty table
It's pretty basic right now, but there's space for growth!
Install:
yarn add danger-plugin-lighthouse --dev
At a glance:
// dangerfile.js
import lighthouse from 'danger-plugin-lighthouse'
// Defaults to looking in ./results for JSON files
lighthouse()
Example output:
Performance | Accessibility | Best Practices | SEO | Progressive Web App |
---|---|---|---|---|
0.99 | 0.85 | 0.93 | 0.82 | 0.52 |
Performance | Accessibility | Best Practices | SEO | Progressive Web App |
---|---|---|---|---|
0.94 | 0.88 | 0.93 | 0.79 | 0.52 |
Performance | Accessibility | Best Practices | SEO | Progressive Web App |
---|---|---|---|---|
0.96 | 0.87 | 0.93 | 0.73 | 0.52 |
See the GitHub release history.
See CONTRIBUTING.md.