Jetpack Manager for Node.js
jpm
has several commands: run
, xpi
, init
, test
, with details below. Some options are:
-b, --binary <path>
Use the specified Firefox binary to run the addon. Used inrun
andtest
.-v, --verbose
Prints additional debugging information.--binary-args <CMDARGS>
Passes the additional arguments into Firefox. Multiple arguments must be enclosed in quotes.-p, --profile <PROFILE>
Uses the profile name or path when running Firefox. Paths must start with either "./" or "/", or otherwise assumed to be a profile name.
Currently, any addon with unspecified engines, or engines supporting versions of Firefox where AOM support for native jetpacks does not exist, jpm will add a install.rdf
and bootstrap.js
file for backwards compatability. This can be overridden with the --force-aom
flag, which will not build with these additional files. This is mainly for testing AOM support while still in development.
Runs the current addon.
Tests the current addon.
Zips up the current addon into a .xpi
file.
Provides a series of prompts to create a package.json
for an addon.