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:
Diffstat (limited to 'lib/config/pacote.js')
-rw-r--r--lib/config/pacote.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/config/pacote.js b/lib/config/pacote.js
index 9f2d35678..dfee47b18 100644
--- a/lib/config/pacote.js
+++ b/lib/config/pacote.js
@@ -21,9 +21,12 @@ function pacoteOpts (moreOpts) {
const ownerStats = calculateOwner()
const opts = {
cache: path.join(npm.config.get('cache'), '_cacache'),
+ ca: npm.config.get('ca'),
+ cert: npm.config.get('cert'),
defaultTag: npm.config.get('tag'),
dirPacker: pack.packGitDep,
hashAlgorithm: 'sha1',
+ key: npm.config.get('key'),
localAddress: npm.config.get('local-address'),
log: log,
maxAge: npm.config.get('cache-min'),