183a5b9c87
Use a message from results page to extension background to know it's ready. Once it is ready, respond back with results. |
||
---|---|---|
.. | ||
app | ||
.eslintrc | ||
.gitattributes | ||
.gitignore | ||
README.md | ||
dtm-transform.js | ||
gulpfile.js | ||
package.json |
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