From f2aab3779ca1366f6e69028dbf160503fd13b7ee Mon Sep 17 00:00:00 2001 From: luckyadam Date: Mon, 21 Oct 2019 17:41:24 +0800 Subject: [PATCH] =?UTF-8?q?chore(cli):=20=E4=BF=AE=E6=AD=A3=20npmrc=20?= =?UTF-8?q?=E4=B8=AD=E6=BA=90=E5=9C=B0=E5=9D=80=EF=BC=8Cclose=20#4633?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-cli/templates/default/_npmrc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/taro-cli/templates/default/_npmrc b/packages/taro-cli/templates/default/_npmrc index fa91a18d921e..734aab2896a0 100644 --- a/packages/taro-cli/templates/default/_npmrc +++ b/packages/taro-cli/templates/default/_npmrc @@ -1,4 +1,10 @@ -registry=https://r.cnpmjs.org -disturl=https://r.cnpmjs.org/node -sass_binary_site=https://r.cnpmjs.org/node-sass/ -fse_binary_host_mirror=https://r.cnpmjs.org/fsevents +registry=https://registry.npm.taobao.org +disturl=https://npm.taobao.org/dist +sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ +phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/ +electron_mirror=https://npm.taobao.org/mirrors/electron/ +chromedriver_cdnurl=https://npm.taobao.org/mirrors/chromedriver +operadriver_cdnurl=https://npm.taobao.org/mirrors/operadriver +selenium_cdnurl=https://npm.taobao.org/mirrors/selenium +node_inspector_cdnurl=https://npm.taobao.org/mirrors/node-inspector +fsevents_binary_host_mirror=http://npm.taobao.org/mirrors/fsevents/