You will need Node.js and the gh
cli installed (and authenticated).
Then, run the following:
npm install
Finally, you will need to enter your own Google Analytics account IDs. One for production and one for testing:
cp config/secrets.sample.js config/secrets.js # Then replace "GA_TRACKING_ID" with your test account ID
cp config/secrets.sample.js config/secrets.production.js # Then replace the "GA_TRACKING_ID" with your production account ID
- Linting (ESLint):
npm run lint
- Releasing a new version:
# Bump the version in the manifest and package.json files, create a new commit, tag it, push to Github
# and create a draft release on Github using the `gh` CLI tool
npm run release
# Create the zipped package to upload to the Chrome web store
npm run build