Commit 6e7edf51 authored by tywldx's avatar tywldx

ui npm install

parent 462ccce6
...@@ -80,12 +80,12 @@ function buildUiProject() ...@@ -80,12 +80,12 @@ function buildUiProject()
else else
echo "dont install imagemin" echo "dont install imagemin"
fi fi
# --registry http://192.168.3.7:4873
if [ "$node_version" = "node4" ] ;then if [ "$node_version" = "node4" ] ;then
echo "----node-V4---${node4_path}/npm --registry http://192.168.3.7:4873 install" echo "----node-V4---${node4_path}/npm install"
${node4_path}/npm --registry http://192.168.3.7:4873 install ${node4_path}/npm install
else else
npm --registry http://192.168.3.7:4873 install npm install
fi fi
bower_json=`find ./ -maxdepth 1 -name "bower.json"` bower_json=`find ./ -maxdepth 1 -name "bower.json"`
......
...@@ -72,9 +72,9 @@ function buildUiProject() ...@@ -72,9 +72,9 @@ function buildUiProject()
if [ "$node_version" = "node4" ] ;then if [ "$node_version" = "node4" ] ;then
echo "----node-V4---${node4_path}/npm --registry http://192.168.3.7:4873 install" echo "----node-V4---${node4_path}/npm --registry http://192.168.3.7:4873 install"
${node4_path}/npm --registry http://192.168.3.7:4873 install ${node4_path}/npm install
else else
npm --registry http://192.168.3.7:4873 install npm install
fi fi
bower_json=`find ./ -maxdepth 1 -name "bower.json"` bower_json=`find ./ -maxdepth 1 -name "bower.json"`
......
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