Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-02-19 09:04:23 +0300
committerisaacs <i@izs.me>2011-02-19 09:04:23 +0300
commitd82850982cd9f3f35e2627c026a8cf6e372e39cf (patch)
treea58b33adc6fa42d066449cf7fa15ca0b788f1b7b /lib/utils/default-config.js
parent9cc1363666cffe450431fa565ee2a3163ccf4da9 (diff)
Closes GH-575 Add the --pre flag
This allows publishing pre-release versions of a package, by telling the registry to suppress the auto-tagging feature.
Diffstat (limited to 'lib/utils/default-config.js')
-rw-r--r--lib/utils/default-config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/default-config.js b/lib/utils/default-config.js
index 21a0b3818..210f83496 100644
--- a/lib/utils/default-config.js
+++ b/lib/utils/default-config.js
@@ -37,6 +37,7 @@ module.exports =
, "node-version" : process.version
, "onload-script" : false
, outfd : stdio.stdoutFD
+ , pre: false
, proxy : process.env.HTTP_PROXY || process.env.http_proxy || null
, prune : undefined // if set to boolean false, then that means "never"
, "rebuild-bundle" : true