This project is an Angular scaffold project (template) for google chrome extensions, see Github.
- clone this repository
- run
npm install - run
npm run watch - goto:
chrome://extensionsin the browser and enable 'developer mode' - press
Load unpackedand target the folderangular/dist
The project is automatically being watched, any changes to the files will recompile the project.
NOTE: changes to the contentPage/backgroundPage requires you to reload the extension in chrome://extensions
- run
npm run build:production - upload
extension-build.zipto the chrome webstore. - (optional) you can also manually zip your extension, the production build will output to folder
angular/dist
This will run a production build and will automatically zip it as a extension package in the root folder ./ named: extension-build.zip
NOTE: Do not forget to update the version number inside manifest.json
This folder contains the angular source code.
This folder contains the contentPage/backgroundPage script for the google chrome extension