lighthouse/extension
Boopathi Rajaa 183a5b9c87 Remove timeout from report (#365)
Use a message from results page to extension background to know it's ready. Once it is ready, respond back with results.
2016-05-26 22:32:07 +01:00
..
app Remove timeout from report (#365) 2016-05-26 22:32:07 +01:00
.eslintrc theme-color tests using DOM domain 2016-03-28 12:14:13 -07:00
.gitattributes extension: extension scaffold 2016-03-19 16:52:22 -07:00
.gitignore Renames files 2016-05-09 18:30:23 +01:00
README.md ext readme: butterbar can be disabled 2016-05-14 19:46:59 -07:00
dtm-transform.js Fixes Speedline for extension (#283) 2016-05-05 19:31:28 +01:00
gulpfile.js bump extension to 0.6.6 2016-05-09 12:12:17 -07:00
package.json Ensures extension can run scripts 2016-05-09 14:07:21 +01:00

README.md

Install dogfood extension

  • chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk

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

Dev

  • npm i
  • npm run 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
  • npm run build
  • Verify that the extension in dist works.
  • Verify that dist/package.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-0.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
  • npm run build
  • Use ID: blipmdconlkpinefehnmjammfjpmpbjk