firefox-extension-deploy

Deploy Firefox extensions to AMO.

3 years after

firefox-extension-deploy Build Status Coverage Status

Deploy Firefox extensions to AMO.

Installation

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

Usage

Note: firefox-extension-deploy requires Promise support. If your environment does not natively support promises, you'll need to provide your own polyfill.

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

deploy({
  // obtained by following the instructions here:
  // https://olympia.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: '[email protected]',
  // 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 :(
});

Related Repositories

extension-boilerplate

extension-boilerplate

⚡️ A template for building cross browser extensions for Chrome, Opera & Firefox. ...

crossbuilder

crossbuilder

Building web, Electron, Cordova and Chrome apps, and cross-browser extensions wi ...

android-sync

android-sync

An outdated mirror of services and related code for Firefox for Android. See gec ...

structured-data-sniffer

structured-data-sniffer

The Openlink Structured Data Sniffer (OSDS) is a plugin for the Chrome, Firefox ...

extended-javascript-console

extended-javascript-console

console.expect(console).toContain('useful tools'); ...