lighthouse/lighthouse-viewer
Eric Bidelman ec97c356a0 Report: open in Lighthouse Viewer button (#1179) 2017-01-12 21:13:49 -08:00
..
app Report: open in Lighthouse Viewer button (#1179) 2017-01-12 21:13:49 -08:00
test Viewer: Add tests for fileuploader (#1184) 2017-01-05 16:42:10 -08:00
.eslintrc.js Viewer: ignore some node modules, add build to travis testing (#1160) 2016-12-14 16:45:51 -08:00
.gitignore Add Lighthouse Report Viewer (#1109) 2016-12-06 17:16:50 -08:00
README.md Add Lighthouse Report Viewer (#1109) 2016-12-06 17:16:50 -08:00
gulpfile.js Viewer: ignore some node modules, add build to travis testing (#1160) 2016-12-14 16:45:51 -08:00
package.json Viewer: Add tests for fileuploader (#1184) 2017-01-05 16:42:10 -08:00
yarn.lock Viewer: Add tests for fileuploader (#1184) 2017-01-05 16:42:10 -08:00

README.md

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 GH 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 to the gh-pages branch.