Update old electron target engine for dependencies (#970)

This fixes dependencies of Hyper that build based on the engine being
used (`nodegit` for example).
This commit is contained in:
Dylan Frankland 2016-11-19 08:38:27 -08:00 committed by Matheus Fernandes
parent 08a4c93579
commit a5b457ed13

View file

@ -233,7 +233,7 @@ function install(fn) {
}
/* eslint-disable camelcase */
env.npm_config_runtime = 'electron';
env.npm_config_target = '1.3.0';
env.npm_config_target = process.versions.electron;
env.npm_config_disturl = 'https://atom.io/download/atom-shell';
/* eslint-enable camelcase */
exec('npm prune && npm install --production', {