lighthouse/lighthouse-extension
Brendan Kenny 70574e872c
2.6.0 (#3848)
2017-11-17 17:48:16 -08:00
..
app 2.6.0 (#3848) 2017-11-17 17:48:16 -08:00
.eslintrc.js tests(eslint): update eslint (and goog config) to latest (#3396) 2017-10-11 16:26:40 -07:00
.gitattributes Refactors to separate /lighthouse-core, /lighthouse-extension and /lighthouse-cli 2016-06-14 12:10:19 +01:00
.gitignore Refactors to separate /lighthouse-core, /lighthouse-extension and /lighthouse-cli 2016-06-14 12:10:19 +01:00
README.md Migrate all dev scripts + docs from npm to yarn. (#2072) 2017-04-26 12:41:01 -07:00
dtm-transform.js Compact the license header (extension, viewer) 2017-06-05 19:21:13 -07:00
fs-transform.js Compact the license header (extension, viewer) 2017-06-05 19:21:13 -07:00
gulpfile.js core(lib): add error reporting (#2420) 2017-10-26 17:01:03 -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 Extension

Install dogfood extension

(If the warning bar about the connected debugging agent bothers you, it can be disabled at chrome://flags/#silent-debugger-extension-api)

Dev

  • npm i
  • yarn watch
  • Load /app as Unpacked extension.
  • Saved changes should trigger a recompile followed by browsersync automatically refreshing the extension.
  • Scripts in ./app/src/ are browserified into ./app/scripts.

Manual Deploy to CWS

  • Be in lighthouse-extension-owners group
  • yarn build
  • Verify that the extension in dist works.
  • Verify that dist/manifest.json bumps the version number vs what's on CWS.
  • gulp package
  • Open https://chrome.google.com/webstore/developer/dashboard
  • Click Edit on lighthouse
  • Upload Updated Package
  • Select packages/lighthouse-1.X.X.zip
  • Publish at the bottom

Easier Deploy via API

(This appears to be broken, unfortunately…)

  • Install web store api app
    • Add dist folder
  • yarn build
  • Use ID: blipmdconlkpinefehnmjammfjpmpbjk