mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
for now, pin npm_config_target version as it falls outside of the distribution package
This commit is contained in:
parent
6267899a27
commit
cb84548623
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ function install (fn) {
|
||||||
let registry = exports.getDecoratedConfig().npmRegistry;
|
let registry = exports.getDecoratedConfig().npmRegistry;
|
||||||
if (registry) env.NPM_CONFIG_REGISTRY = registry;
|
if (registry) env.NPM_CONFIG_REGISTRY = registry;
|
||||||
env.npm_config_runtime = 'electron';
|
env.npm_config_runtime = 'electron';
|
||||||
env.npm_config_target = require('./package.json').devDependencies['electron-prebuilt'];
|
env.npm_config_target = '1.2.8';
|
||||||
env.npm_config_disturl = 'https://atom.io/download/atom-shell';
|
env.npm_config_disturl = 'https://atom.io/download/atom-shell';
|
||||||
exec('npm prune && npm install --ignore-scripts --production', {
|
exec('npm prune && npm install --ignore-scripts --production', {
|
||||||
cwd: path,
|
cwd: path,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue