Make sure to have the npm command available:
$ npm --version
10.9.2Install the dependencies:
$ make installBuild the assets with the Parcel watcher:
$ make watchRun the extension in Firefox:
$ make runOr in Chromium:
$ make run BROWSER=chromiumOr in Firefox for Android (connect your phone in USB first and make sure you have adb installed):
$ make run BROWSER=<device>You can find the name of your device with:
$ adb devicesBuild the extension with:
$ make buildIt builds the assets under the dist/assets folder, and builds a ZIP archive under dist/artifacts/.
Run the linters with:
$ make lintYou can run a specific linter with:
$ make lint LINTER=biome
$ make lint LINTER=webextNote that the webext linter runs over the dist/assets files and not the files under src/.
This is to check that the final assets don't present any problems.