From 5b53cf8b283fe19b220b7389de5262364b6e769c Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Fri, 1 Feb 2019 16:57:45 +0000 Subject: [PATCH] web-ext: add page (#2739) --- pages/common/web-ext.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/web-ext.md diff --git a/pages/common/web-ext.md b/pages/common/web-ext.md new file mode 100644 index 000000000..091ebcda8 --- /dev/null +++ b/pages/common/web-ext.md @@ -0,0 +1,36 @@ +# web-ext + +> A command line tool for managing web extension development. +> Homepage: . + +- 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}}`