mozilla-jetpack/jpm


Jetpack Manager for Node.js

https://www.npmjs.org/package/jpm

License: MPL-2.0

Language: JavaScript


JPM Dependency Status Build Status

NPM NPM

IMPORTANT UPDATE AS OF 2017-02-07: Firefox is planning to deprecate the type of add-ons that are built by jpm. If you're building a new add-on, consider a WebExtension instead and check out the web-ext tool which has all the same features as jpm. Here are some resources to help you migrate a legacy jpm built add-on.

Replacing the previous python tool for developing Firefox Add-ons, cfx, jpm is a utility for developing, testing, and packaging add-ons.

Install

Install the latest stable version from NPM:

npm install --global jpm

Alternatively, you can install from the GitHub source to get the latest features or to work on jpm itself. Use npm link to add the jpm global to your path:

git clone https://github.com/mozilla-jetpack/jpm.git
cd jpm
npm install
npm link

Usage

Type jpm --help for all available commands and options or read the documentation linked below.

Documentation

Contributing

Read about how to contribute patches to jpm.

Using Post and Watchpost

Note: this is experimental

Setup

You must have the Extension Auto-Installer installed on a pre-production Firefox and you need to use a profile that sets xpinstall.signatures.required to false (more info). For logging with watchpost, also see Developing without browser restarts.

Usage

Once this has completed, setup a watchpost:

jpm watchpost --post-url http://localhost:8888/

This will watch for changes to the current working directory and post a new xpi to your installed Extension Auto-Installer which will then install the new xpi. To end the process, use the hokey, CTRL + C.

For a simple xpi and post, use:

jpm post --post-url http://localhost:8888/

License

MPL-2.0

Project Statistics

Sourcerank 14
Repository Size 813 KB
Stars 168
Forks 80
Watchers 30
Open issues 112
Dependencies 41
Contributors 45
Tags 41
Created
Last updated
Last pushed

Top Contributors See all

Erik Vold Jordan Santell Kumar McMillan Irakli Gozalishvili nikolas jc3213 Johann Hofmann Chih-Hsuan Yen asamuzaK (Kazz) Luca Greco Martin Giger Alan Wu Peter deHaan � Sdar Robert Byrne Jeff Griffiths Jarda Snajdr Fayne Aldan Dave Townsend

Packages Referencing this Repo

jpm
Jetpack Mechanic utilities for creating, testing, running and packaging Mozilla Jetpack Addons
Latest release 1.3.1 - Updated - 168 stars

Recent Tags See all

1.3.1 March 29, 2017
1.3.0 February 07, 2017
1.2.2 October 10, 2016
1.2.1 October 06, 2016
1.2.0 September 30, 2016
1.1.4 August 11, 2016
1.1.3 July 28, 2016
1.1.2 July 27, 2016
1.1.1 July 14, 2016
1.1.0 July 12, 2016
1.0.7 March 31, 2016
1.0.6 February 22, 2016
1.0.5 January 25, 2016
1.0.4 December 15, 2015
1.0.3 October 18, 2015

Interesting Forks See all

janodvarko/jpm
Jetpack Manager for Node.js
JavaScript - MPL-2.0 - Last pushed - 1 stars - 1 forks

Something wrong with this page? Make a suggestion

Last synced: 2017-03-29 22:29:16 UTC

Login to resync this repository