0%

npm

在用户home目录下新建文件~/.npmrc

1
2
3
4
5
6
registry=https://registry.npm.taobao.org

chromedriver_cdnurl=https://npm.taobao.org/mirrors/chromedriver/
electron_mirror=https://npm.taobao.org/mirrors/electron/
phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/