lighthouse/lighthouse-extension
Paul Irish 978ef5bbf2 bump to 2.0.0-alpha.4 (#2207) 2017-05-09 23:46:40 -07:00
..
app bump to 2.0.0-alpha.4 (#2207) 2017-05-09 23:46:40 -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 Upgrade ESLint and eslint-config-google to latest (#1136) 2016-12-13 16:49:28 -08:00
fs-transform.js Upgrade ESLint and eslint-config-google to latest (#1136) 2016-12-13 16:49:28 -08:00
gulpfile.js Fix computed artifact path during browserify (#2113) 2017-05-01 12:08:46 -07:00
package.json Reduce build size by 33% (#1756) 2017-02-22 22:16:17 -08:00
yarn.lock Reduce build size by 33% (#1756) 2017-02-22 22:16:17 -08: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