diff --git a/setup_development.sh b/setup_development.sh index 680279c..2c1b56f 100644 --- a/setup_development.sh +++ b/setup_development.sh @@ -1,6 +1,6 @@ npm -v -npm config set registry https://registry.npm.taobao.org +npm config set registry https://registry.npmmirror.com npm install npm run build-dev image_version=`date +%Y%m%d%H%M`; diff --git a/setup_production.sh b/setup_production.sh index f5af834..9d1543b 100644 --- a/setup_production.sh +++ b/setup_production.sh @@ -7,7 +7,7 @@ # @description: ### npm -v -npm config set registry https://registry.npm.taobao.org +npm config set registry https://registry.npmmirror.com npm install npm run build image_version=$version; diff --git a/setup_test.sh b/setup_test.sh index 16a3d67..2b159cb 100644 --- a/setup_test.sh +++ b/setup_test.sh @@ -8,7 +8,7 @@ ### #!/bin/bash npm -v -npm config set registry https://registry.npm.taobao.org +npm config set registry https://registry.npmmirror.com/ npm install npm run build-test image_version=$version;