The minimum requirements are:
- GNU Bash
- GNU Coreutils
- Git
- Node.js (version 16 and above)
To install the project dependencies, run
# install dependencies
npm install
# install dependencies for modules
npm install --dir node_modules/plain-modal
npm install --dir node_modules/plain-draggable
# install linting and building tools
npm install -g rollup standard
We use StandardJS with pre-defined ESLint rules to ensure a consistent coding style and catch potential bugs. For checking lint, run
npm run lint
# without code minified
npm run build
# with code minified
PRODUCTION=true npm build
- To build addon(after
dist/
is generated fromnpm run build
), run
npm run addon
-
Then Firefox Browser, go to
about:debugging
page. PressThis Firefox
for extension page -
Press
Load Temporary Add-on...
, then selectmanifest.json
inaddon/