Building is done via scripts defined in the package.json.
Development was done on NixOS 20.09. A flake.nix is provided, allowing for replication of the exact build environment. Nix flakes are currently a WIP feature and not fully documented, so you may want to instead install the system dependencies manually:
- Node.js 14.9.0 (downloads, installation)
- Yarn 1.22.5 (installation)
Packages can be installed via yarn. After this, the following (relevant) scripts are available via yarn run <script>:
build:dev: Builds an unsigned development .zipbuild:prod:unsigned: Builds an unsigned production .zipbuild:prod:signed: Builds a signed production .xpibuild: Alias forbuild:dev
Artifacts are placed in addon/web-ext-artifacts/.