-
Notifications
You must be signed in to change notification settings - Fork 0
/
.npmrc
25 lines (20 loc) · 1.21 KB
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# NPM Taobao registry
registry=https://registry.npm.taobao.org
# Taobao node binary mirrors
disturl=https://npm.taobao.org/dist
electron_mirror=https://npm.taobao.org/mirrors/electron
phantomjs_cdnurl=https://npm.taobao.org/mirrors/electron
chromedriver_cdnurl=https://cdn.npm.taobao.org/dist/chromedriver
operadriver_cdnurl=https://cdn.npm.taobao.org/dist/operadriver
fse_binary_host_mirror=https://npm.taobao.org/mirrors/fsevents
sass_binary_site=http://cdn.npm.taobao.org/dist/node-sass
canvas_binary_host_mirror=https://npm.taobao.org/mirrors/node-canvas-prebuilt/
# yarn config set registry https://registry.npm.taobao.org -g
# yarn config set disturl https://npm.taobao.org/dist -g
# yarn config set electron_mirror https://npm.taobao.org/mirrors/electron/ -g
# yarn config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/ -g
# yarn config set phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs/ -g
# yarn config set chromedriver_cdnurl https://cdn.npm.taobao.org/dist/chromedriver -g
# yarn config set operadriver_cdnurl https://cdn.npm.taobao.org/dist/operadriver -g
# yarn config set fse_binary_host_mirror https://npm.taobao.org/mirrors/fsevents -g
# nvm node_mirror https://npm.taobao.org/mirrors/node/