This project uses Yarn, to install dependencies - run yarn
.
npm run lint
- runs eslintnpm run lint:fix
- runs eslint in autofix modenpm run test
- runs testsnpm run test:watch
- runs tests in watch modenpm run test:coverage
- runs tests with coverage report
Just run npm run start:chrome
to start development server.
- Run
npm run watch:firefox
to build the bundle in watch mode. - Run
npm run start:firefox
to start development server.
- Make sure you're on
master
branch. - Run
npm run release <version>
(e.g.npm run release 2.1.3
). It will update version inmanifest.json
andpackage.json
files, set the tag according to the version and commit these changes. - Check the changes carefully and push.
- The following steps depend on the browser.
After the push, TravisCI will take care of uploading and publishing new version to Chrome Store.
- Run
npm run build:firefox
to build the bundle for FF. - Run
npm run zip
to get an archive. - Upload the archive to AMO.
Thanks to the sponsors for supporting this project!