lighthouse/lighthouse-viewer
Patrick Hulce aa43403683 tests: adopt jest (leaving mocha) for core & cli (#5386) 2018-06-29 02:45:18 +01:00
..
app core(tsc): migrate renderer & viewer off typedefs to .d.ts (#5342) 2018-06-15 16:21:52 -07:00
test tests: adopt jest (leaving mocha) for core & cli (#5386) 2018-06-29 02:45:18 +01:00
types core(tsc): add type checking to viewer (#5258) 2018-05-18 18:52:10 -07:00
.eslintrc.js tests(eslint): update eslint (and goog config) to latest (#3396) 2017-10-11 16:26:40 -07:00
.gitignore Add Lighthouse Report Viewer (#1109) 2016-12-06 17:16:50 -08:00
README.md readme links to gh-pages 2017-04-25 13:03:32 -07:00
gulpfile.js report: move html report from v2/ dir to html/ (#5034) 2018-04-24 18:37:48 -07:00
package.json deps: bump gulp's `natives` dep for node 10.4 compat (#5497) 2018-06-13 13:05:48 -07:00
tsconfig.json core(tsc): add type checking to viewer (#5258) 2018-05-18 18:52:10 -07:00
yarn.lock deps: bump gulp's `natives` dep for node 10.4 compat (#5497) 2018-06-13 13:05:48 -07:00

README.md

Lighthouse Viewer

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

Development

  • npm i
  • Build: gulp, Watch: gulp watch

For development, gulp watch will browserify dist/src/main.js and create a runnable script in all modern browsers. Use this for quick iterations when developing.

For production, run gulp. This compiles and minifies dist/src/main.js using Closure.

Deploy

Deploys should be done as part of the Lighthouse release process. To update GitHub pages, run the following in the root folder of a Lighthouse checkout:

npm run deploy-viewer

This builds lighthouse-viewer/dist/src/main.js and pushes the contents of dist folder to the gh-pages branch.