gulp-electron-packer
v0.0.2
Published
Gulp wrapper for electron packager
Downloads
2
Maintainers
Readme
gulp-electron-packer
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