gulp-download-electron
v0.0.5
Published
gulp plugin to download electron
Downloads
10
Readme
gulp-download-electron
Download electron binary distribution
Port from grunt-download-electron
Installation
Install gulp plugin package:
npm install --save-dev gulp-download-electron
Usage
Options
version
- Required The version of electron you want to download.outputDir
- Required Where to put the downloaded electron.downloadDir
- Where to find and save cached downloaded electron.symbols
- Download debugging symbols instead of binaries, default tofalse
.rebuild
- Whether to rebuild native modules after electron is downloaded.apm
- The path to apm.
Example
gulpfile.js
var gulp = require('gulp');
var downloadelectron = require('gulp-download-electron');
gulp.task('downloadelectron', function(cb){
downloadelectron({
version: '0.24',
outputDir: 'binaries'
}, cb);
});
gulp.task('default', ['downloadelectron']);