Miss any of our Open RFC calls?Watch the recordings here! »

firefox-extension-deploy

1.1.2 • Public • Published

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 :(
});

Keywords

none

Install

npm i firefox-extension-deploy

DownloadsWeekly Downloads

88

Version

1.1.2

License

MIT

Unpacked Size

5.5 kB

Total Files

4

Last publish

Collaborators

  • avatar