- Clone the repository
git clone https://github.com/EmailThis/extension-boilerplate.git
- Run
npm install
- Run
npm run build
- Open Chrome/Opera browser and navigate to chrome://extensions
- Select "Developer Mode" and then click "Load unpacked extension..."
- From the file browser, choose to
extension-boilerplate/build/chrome
or (extension-boilerplate/build/opera
)
- Open Firefox browser and navigate to about:debugging
- Click "Load Temporary Add-on" and from the file browser, choose
extension-boilerplate/build/firefox
The following tasks can be used when you want to start developing the extension and want to enable live reload -
npm run chrome-watch
npm run opera-watch
npm run firefox-watch
Run npm run dist
to create a zipped, production-ready extension for each browser. You can then upload that to the appstore.