Jetpack Mechanic utilities for creating, testing, running and packaging Mozilla Jetpack Addons
Want to see pretty graphs? Log in now!
npm install jpm
|10||downloads in the last week|
|13||downloads in the last month|
|Last Published By|
|Version||0.0.5 last updated 2 months ago|
|Dependencies (16)||firefox-profile, commander, jsontoxml, fs-promise, fs-extra, colors, when, dive, underscore, zip-dir, tmp, promzard, read, semver, mozilla-version-comparator, mozilla-toolkit-versioning|
Jetpack Manager for Node.js
jpm has several commands:
test, with details below. Some options are:
-b, --binary <path>Use the specified Firefox binary to run the addon. Used in
-v, --verbosePrints 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
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
Provides a series of prompts to create a
package.json for an addon.