1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:22:07 +02:00
tldr/pages/common/web-ext.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

36 lines
748 B
Markdown

# web-ext
> A command-line tool for managing web extension development.
> More information: <https://www.npmjs.com/package/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}}`