70574e872c | ||
---|---|---|
.. | ||
app | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
README.md | ||
dtm-transform.js | ||
fs-transform.js | ||
gulpfile.js | ||
package.json | ||
yarn.lock |
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