Commit f6d0b9c4 authored by Michael Rykov's avatar Michael Rykov

Add support for custom .npmrc

parent 424a605b
...@@ -66,7 +66,7 @@ fi ...@@ -66,7 +66,7 @@ fi
# Make npm output to STDOUT instead of its default STDERR # Make npm output to STDOUT instead of its default STDERR
status "Installing dependencies" status "Installing dependencies"
npm install --production 2>&1 | indent npm install --userconfig $build_dir/.npmrc --production 2>&1 | indent
status "Pruning dependencies not specified in package.json" status "Pruning dependencies not specified in package.json"
npm prune 2>&1 | indent npm prune 2>&1 | indent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment