lighthouse/lighthouse-extension
Ward Peeters 40867ea3ef Throw better error message when url is not auditable (#2527) 2017-06-20 12:58:32 -07:00
..
app Throw better error message when url is not auditable (#2527) 2017-06-20 12:58:32 -07:00
.eslintrc.js Upgrade ESLint and eslint-config-google to latest (#1136) 2016-12-13 16:49:28 -08: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 Fix computed artifact path during browserify (#2113) 2017-05-01 12:08:46 -07:00
package.json extract logger from lighthouse (#2528) 2017-06-19 18:30:12 -07:00
yarn.lock yarn lockfile updates. 2017-06-19 20:35:13 -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