Based on https://github.com/flrent/chrome-extension-angular-base
Because https://www.youtube.com/watch?v=uUcEGOLfUTE
- Fork this repo and clone it
- Run
npm install
andbower install
- Go to
chrome://extensions/
- Activate developer mode
- Click on
load an unpacked extension
and locate your cloned repo, and select theapp
folder - You can now modify the extension code and then reload page to see your changes
- Do some changes and submit a pull request
Either follow the original documentation by Google: https://developer.chrome.com/extensions/packaging and do the building manually. See part "Uploading a previously packaged extension to the Chrome Web Store"
or you can use the build-and-package.sh
to pack the exension
- First get the private key for Duke. Save it to some file i.e.
/Users/myname/key.pem
- Bump version in manifest.json
- Build
duke.zip
withbuild-and-package.sh
- Example usage
./build-and-package.sh --key=/Users/myname/key.pem
- Example usage
- The script should output
duke.zip
and you can upload that to Chrome Webstore - Commit version bump and push changes to master