Skip to content

Instantly share code, notes, and snippets.

@miaozilong
Created July 27, 2019 02:11
Show Gist options
  • Save miaozilong/85794da3bf926c9624cb1b0d75a421c0 to your computer and use it in GitHub Desktop.
Save miaozilong/85794da3bf926c9624cb1b0d75a421c0 to your computer and use it in GitHub Desktop.
yarn 设置
yarn config set registry "https://registry.npm.taobao.org"
yarn config set sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
yarn config set phantomjs_cdnurl "http://cnpmjs.org/downloads"
yarn config set electron_mirror "https://npm.taobao.org/mirrors/electron/"
yarn config set sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
yarn config set profiler_binary_host_mirror "https://npm.taobao.org/mirrors/node-inspector/"
yarn config set chromedriver_cdnurl "https://cdn.npm.taobao.org/dist/chromedriver"
yarn config set puppeteer_download_host "https://npm.taobao.org/mirrors"
@miaozilong
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment