1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 14:55:23 +02:00
tldr/pages/common/web-ext.md
Managor 23340cc6e0
common/*: reduce usage of "command-line" (part 1) (#16949)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:48:18 +03:00

719 B

web-ext

Manage web extension development. More information: https://github.com/mozilla/web-ext.

  • Run the web extension in the current directory in Firefox:

web-ext run

  • Run a web extension from a specific directory in Firefox:

web-ext run --source-dir {{path/to/directory}}

  • Display verbose execution output:

web-ext run --verbose

  • Run a web extension in Firefox Android:

web-ext run --target firefox-android

  • Lint the manifest and source files for errors:

web-ext lint

  • Build and package the extension:

web-ext build

  • Display verbose build output:

web-ext build --verbose

  • Sign a package for self-hosting:

web-ext sign --api-key {{api_key}} --api-secret {{api_secret}}