grunt-amo-upload

0.3.0 • Public • Published

grunt-amo-upload NPM Test

A Grunt task to upload a WebExtension to Addons.mozilla.org.

Usage

You can install grunt-amo-upload by a following way:

> npm install --save-dev grunt-amo-upload

Then you can add a configuration section for amo_upload task in your Gruntfile.js:

// If you don't use a `load-grunt-tasks` module,
// you should load `grunt-amo-upload` directly.
grunt.loadNpmTasks('grunt-amo-upload');
 
grunt.initConfig({
    amo_upload: {
        issuer: 'Your JWT issuer',
        secret: 'Your JWT secret',
        id: 'Your extension ID',
        version: 'Version to upload',
        src: 'path/to/zip/file',
    }
});

You can get JWT issuer and JWT secret for your account here.

License

Licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i grunt-amo-upload

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

3.63 kB

Total Files

4

Last publish

Collaborators

  • alexesprit