Skip to content
Alex Korovyansky edited this page Dec 16, 2015 · 9 revisions

Preparation

# Install gulp globally (if you don't have it yet)
$ sudo npm install -g gulp

# Install dependencies
$ npm install

Application Structure

application structure

Build & Run

You need use gulp for building the source extension packages for all browsers: ​

$ gulp

​After execution of the command unpacked extensions for all target browsers will be located in build directory. Name, version, description and homepage url of extension set automatically based on file package.json.

Run extension in Firefox:

$ gulp run

Release and Publishing

​ Compile release versions for all supported browsers: ​

$ gulp dist

​ Packed and signed extensions will be located in dist directory.

Warning: to build of ready extension package for Safari we need add certificate files to directory /vendor/safari/certs/. ​ For more information read: Building a Safari Extension.

Clone this wiki locally