lighthouse/lighthouse-viewer
Connor Clark 4f6170d74b
deps(typescript): update to 3.8.3 (#10461)
2020-04-08 14:38:26 -04:00
..
app deps(typescript): update to 3.8.3 (#10461) 2020-04-08 14:38:26 -04:00
test misc: rename license header to use Lighthouse Authors (#10469) 2020-03-18 11:21:54 -05:00
types misc: rename license header to use Lighthouse Authors (#10469) 2020-03-18 11:21:54 -05:00
.eslintrc.js misc: rename license header to use Lighthouse Authors (#10469) 2020-03-18 11:21:54 -05:00
README.md misc: replace deprecated uglify-es with terser (#9594) 2019-08-23 10:10:57 -05:00
tsconfig.json devtools: enable sticky header, top bar, and report ui features (#9023) 2019-05-30 00:42:08 -07:00

README.md

Lighthouse Viewer

Online at https://googlechrome.github.io/lighthouse/viewer/

Development

Run the following in the root folder of a Lighthouse checkout:

  • yarn
  • yarn build-viewer

This compiles and minifies app/src/main.js. Results are written to dist/viewer/.

Deploy

Deploys should be done as part of the Lighthouse release process. To push the viewer to the gh-pages branch under viewer/, run the following in the root folder of a Lighthouse checkout:

yarn deploy-viewer

For more information on deployment, see releasing.md.

Gist

http://localhost:8000/?gist=bd1779783a5bbcb348564a58f80f7099

PSI

Example:

http://localhost:8000/?psiurl=https://www.example.com&category=pwa&category=seo

Options:

psiurl - URL to audit category - Category to enable. One per category. strategy - mobile, desktop locale - locale to render report with utm_source - id that identifies the tool using the viewer