Norse Polytheistic Mythology
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

danger-plugin-lighthouse

0.5.2 • Public • Published

danger-plugin-lighthouse

Build Status npm version semantic-release

Takes lighthouse JSON data and makes it a pretty table

It's pretty basic right now, but there's space for growth!

Usage

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:

Lighthouse Scores

/
Performance Accessibility Best Practices SEO Progressive Web App
0.99 0.85 0.93 0.82 0.52
/tsconfig
Performance Accessibility Best Practices SEO Progressive Web App
0.94 0.88 0.93 0.79 0.52
/docs/handbook/integrating-with-build-tools.html
Performance Accessibility Best Practices SEO Progressive Web App
0.96 0.87 0.93 0.73 0.52

Changelog

See the GitHub release history.

Contributing

See CONTRIBUTING.md.

Install

npm i danger-plugin-lighthouse

DownloadsWeekly Downloads

341

Version

0.5.2

License

MIT

Unpacked Size

50.4 kB

Total Files

19

Last publish

Collaborators

  • avatar