lighthouse/lighthouse-viewer
Brendan Kenny a86c4b4711 tests(eslint): update eslint (and goog config) to latest (#3396)
* tests(eslint): update eslint (and goog config) to latest

* update deps
2017-10-11 16:26:40 -07:00
..
app tests(eslint): update eslint (and goog config) to latest (#3396) 2017-10-11 16:26:40 -07:00
test fix(eslint): Enable trailing commas rule in ESLint, fix all errors (#3324) 2017-09-19 17:48:22 -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 fix(eslint): Enable trailing commas rule in ESLint, fix all errors (#3324) 2017-09-19 17:48:22 -07:00
package.json tests(eslint): update eslint (and goog config) to latest (#3396) 2017-10-11 16:26:40 -07:00
yarn.lock tests(eslint): update eslint (and goog config) to latest (#3396) 2017-10-11 16:26:40 -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.