Suggestions and pull requests are highly encouraged!
- Clone the project:
git clone https://github.com/jsdelivr/extension-chrome.git
cd extension-chrome
npm install
- When working on the extension or checking out branches, use this to have it constantly build your changes:
npm run watch # Listen for file changes and automatically rebuild
- Then load or reload it into the browser to see the changes (this does not happen automatically).
Once built, load it in the browser of your choice:
Chrome | Firefox |
---|---|
|
web-ext run :
npm run watch:firefox |
Many thanks to sindresorhus for the inspiration with this contributing guide