dda92746fa
This is to prevent invalid network requests with an empty subdomain. |
||
---|---|---|
src | ||
test | ||
webpack | ||
.babelrc | ||
.eslintrc.json | ||
.gitignore | ||
jest.config.js | ||
package.json | ||
README.md | ||
webpack.base.config.js | ||
webpack.chrome.config.js | ||
webpack.firefox.config.js | ||
yarn.lock |
mocoapp-browser-extension
Documentation
- https://checklyhq.com/blog/2018/08/creating-a-chrome-extension-in-2018-the-good-the-bad-and-the-meh/
- https://developer.chrome.com/extensions
- https://developer.chrome.com/extensions/api_index
Development
- run
yarn
- run
yarn start:chrome
oryarn start:firefox
(yarn start
is an alias foryarn start:chrome
) - load extension into browser:
- Chrome: visit
chrome://extensions
and load unpacked extension frombuild/chrome
- Firefox: visit
about:debugging
and load temporary Add-on frombuild/firefox
- Chrome: visit
- reload browser extension after change
Release
- bump version in
package.json
- run
yarn build
- upload Chrome and Firefox extensions in
build/chrome
andbuild/firefox
respectively