Clone the repository and then run npm i
in the root directory.
Build extension package once (prod):
npm run build
Build extension package once (dev):
npm run dev
OR
npm run local # local overrides
Build continuously (dev):
npm run dev:watch
OR
npm run local:watch # local overrides
Build continuously (prod):
npm run build:watch
After building, the unpacked extension exists in the dist/
directory.
- Launch Chrome and navigate to chrome://extensions/.
- Select
Load Unpacked
from the upper left of the page. - Select the
dist/
folder from the build output above as the root directory to load.
Note: It doesn't appear that chrome extensions automatically reload their source, so you may have to click the reload or update buttons on the extension page.
- Sign up for Chrome webstore developer account (pay $5)
- Change version in BOTH manifest.json AND package.json
- build prod extension
npm run build
- zip build
zip -r dist.zip dist
- Developer dashboard > Package > Upload new package
- Developer dashboard > Distribution > Submit for review