mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:22:09 +02:00
web-ext: add page (#2739)
This commit is contained in:
parent
bcd42b5052
commit
5b53cf8b28
1 changed files with 36 additions and 0 deletions
36
pages/common/web-ext.md
Normal file
36
pages/common/web-ext.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# web-ext
|
||||
|
||||
> A command line tool for managing web extension development.
|
||||
> Homepage: <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}}`
|
Loading…
Add table
Reference in a new issue