Commit b3f24a61 authored by tywldx's avatar tywldx

change npm config

parent 4759000b
......@@ -121,13 +121,14 @@ function buildNodeProject()
rm -rf ./$config_file
echo " ------------ln -s $config_path/node/$project.* ./$config_file"
ln -s $config_path/node/$project.* ./$config_file
npmrc=`find ./ -maxdepth 1 -name ".npmrc"`
echo "---------------$npmrc"
if [ -n "$npmrc" ];then
npm install
else
# npmrc=`find ./ -maxdepth 1 -name ".npmrc"`
# echo "---------------$npmrc"
# if [ -n "$npmrc" ];then
# npm install
# else
npm config set "@types:registry" http://registry.npmjs.org/
npm --registry http://172.16.3.15:4873 install
fi
# fi
}
......
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