Commit c51dbd1d authored by zeke's avatar zeke

write a default npmrc

parent a0961870
......@@ -75,6 +75,12 @@ elif test -d $cache_dir/node/node_modules; then
fi
# Handle npm's new cert bug
# http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more
if [ ! -f "$build_dir/.npmrc" ]; then
echo "ca=" > "$build_dir/.npmrc"
fi
# Scope config var availability only to `npm install`
(
if [ -d "$env_dir" ]; then
......
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