yarn config set -g registry https://registry.npm.taobao.org yarn config set -g disturl https://npm.taobao.org/dist yarn config set -g electron_mirror https://npm.taobao.org/mirrors/electron/ yarn config set -g sass_binary_site https://npm.taobao.org/mirrors/node-sass/ yarn config set -g phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs/ yarn config set -g chromedriver_cdnurl https://cdn.npm.taobao.org/dist/chromedriver yarn config set -g operadriver_cdnurl https://cdn.npm.taobao.org/dist/operadriver yarn config set -g fse_binary_host_mirror https://npm.taobao.org/mirrors/fsevents
npm config set registry https://registry.npm.taobao.org npm config set disturl https://npm.taobao.org/dist npm config set electron_mirror https://npm.taobao.org/mirrors/electron/ npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/ npm config set phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs/