Thanks for your interest in contributing! If anything in here is unclear or outdated, please update it too 😄
- Fork this repo
- Run
yarn install
in the project directory
- Open the Chrome extension settings
- Click
Load unpacked
and select this project
- Open the tempory extension settings
- Click
Load temporary add-on
and select the manifest.json for this project
You should now be able to use the extension as described in the README. You'll need to click the refresh button on the extension settings to reload the extension after code changes.
You can run the tests with
yarn test
We use Jest. To update the snapshots after making changes, you can run
yarn test -u
Don't forget to review the updates and make sure only intended changes are included!
- Document any change in behaviour. Make sure the README and any other relevant documentation are kept up-to-date.
- Create topic branches. Don't ask us to pull from your master branch.
- One pull request per feature. If you want to do more than one thing, send multiple pull requests.
- Send coherent history. Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before sending them to us.
Only needed for user-facing changes!
- Bump the version in
manifest.json
and get changes merged to master - Create a .zip (
rm app.zip && zip -j app app/*
) - Upload it to the Chrome and Firefox stores
- It can take a while for the changes to be reflected in the browser addon stores.
- Your browser will automatically update the extension when ready, there's no need to re-download manually from the store.