mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Provide these from .npmrc.
This commit is contained in:
3
.npmrc
3
.npmrc
@@ -1 +1,4 @@
|
||||
cache = ~/.atom/.npm
|
||||
runtime = electron
|
||||
target = 0.34.5
|
||||
disturl = https://atom.io/download/atom-shell
|
||||
|
||||
@@ -45,13 +45,6 @@ function setEnvironmentVariables() {
|
||||
process.env.BUILD_ATOM_RELEASES_S3_SECRET = process.env.BUILD_ATOM_WIN_RELEASES_S3_SECRET
|
||||
process.env.BUILD_ATOM_RELEASES_S3_BUCKET = process.env.BUILD_ATOM_WIN_RELEASES_S3_BUCKET
|
||||
}
|
||||
|
||||
// `node-pre-gyp` will look for these when determining which binary to
|
||||
// download or how to rebuild.
|
||||
process.env.npm_config_runtime = 'electron';
|
||||
// TODO: get this from package.json
|
||||
process.env.npm_config_target = '0.34.5';
|
||||
process.env.npm_config_disturl = 'https://atom.io/download/atom-shell';
|
||||
}
|
||||
|
||||
function removeNodeModules() {
|
||||
|
||||
Reference in New Issue
Block a user