git clone git@github.com:DaddyWarbucks/browser-extension-boilerplate.git
cd browser-extension-boilerplate
yarn install
yarn start
Runs webpack in watch mode. Automatically reloads the page after changes in files. Thanks to webpack-extension-reloader.
yarn build
Builds the extension in production mode. This version can be shipped to the store.
Use npm version cli command to bump a version of your package.json. The version of manifest will stay in sync with version specified in package.json.
For example:
npm version patch
This will increase your patch package.json version. During the next build output manifest file will have the same version.
"unsafe-eval" in directive "script-src" and "connect-src" are needed for auto reloading, and should be removed from production manifest.json.