1.1.2 • Published 5 years ago

firefox-extension-deploy v1.1.2

Weekly downloads
29
License
MIT
Repository
github
Last release
5 years ago

firefox-extension-deploy

Deploy Firefox extensions to AMO.

You should probably use jpm sign or web-ext sign instead.

Installation

npm install --save-dev firefox-extension-deploy

Usage

var fs = require('fs');
var deploy = require('firefox-extension-deploy');

deploy({
  // obtained by following the instructions here:
  // https://addons-server.readthedocs.io/en/latest/topics/api/auth.html
  // or from this page:
  // https://addons.mozilla.org/en-US/developers/addon/api/key/
  issuer: 'myIssuer',
  secret: 'mySecret',

  // the ID of your extension
  id: 'exampleId@jetpack',
  // the version to publish
  version: '1.0.0',

  // a ReadStream containing a .zip (WebExtensions) or .xpi (Add-on SDK)
  src: fs.createReadStream('path/to/zipped/extension.zip'),
}).then(function() {
  // success!
}, function(err) {
  // failure :(
});
1.1.2

5 years ago

1.1.1

6 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago