Neato Polyester Material
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

gulp-electron-packer

0.0.2 • Public • Published

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

install

npm i gulp-electron-packer

Downloadsweekly downloads

11

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability