Created
July 27, 2019 02:11
-
-
Save miaozilong/85794da3bf926c9624cb1b0d75a421c0 to your computer and use it in GitHub Desktop.
yarn 设置
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yarn config set registry "http://192.168.1.42:8081/repository/npm_group_public/"