node package manager

gulp-electron-packer

gulp-electron-packer

NPM version Build Status Coverage Status Dependency Status

A gulp plugin used to create electron based application with electron-packager

Usage

First, install gulp-electron-packer as a development dependency:

npm install --save-dev gulp-electron-packer

Then, add it to your gulpfile.js:

var gulp = require("gulp");
var electronPacker = require("gulp-electron-packer");
var packageJSON = require('./package.json');
 
gulp.src("./src/*.ext")
  .pipe(electronPacker(packageJSON))
  .pipe(gulp.dest("./dist"));

API

electronPacker(options)

options.name

Type: String

Your application name

options.version

Type: String Default: 0.0.0

Application version

options.packaging

Type: Object

Options for electron-packager

License

MIT License