npm config set registry https://registry.npmmirror.com
npm config set disturl https://npmmirror.com/mirrors/node
npm config set electron_mirror https://registry.npmmirror.com/electron/
npm config set chromedriver_cdnurl https://registry.npmmirror.com/chromedriver/
npm config set sass_binary_site https://registry.npmmirror.com/node-sass/
npm config set phantomjs_cdnurl https://registry.npmmirror.com/phantomjs/
npm config set puppeteer_download_host https://registry.npmmirror.com/mirrors/
npm config set selenium_cdnurl https://registry.npmmirror.com/selenium/
npm config set node_inspector_cdnurl https://registry.npmmirror.com/node-inspector/
yarn config set registry https://registry.npmmirror.com -g
yarn config set disturl https://npmmirror.com/mirrors/node -g
yarn config set electron_mirror https://registry.npmmirror.com/electron/ -g
yarn config set sass_binary_site https://registry.npmmirror.com/node-sass/ -g
yarn config set phantomjs_cdnurl https://registry.npmmirror.com/phantomjs/ -g
yarn config set puppeteer_download_host https://registry.npmmirror.com/mirrors/ --gl
yarn config set chromedriver_cdnurl https://registry.npmmirror.com/chromedriver/ -g
yarn config set operadriver_cdnurl https://registry.npmmirror.com/operadriver/ -g
yarn config set fse_binary_host_mirror https://registry.npmmirror.com/fsevents/ -g
yarn config set selenium_cdnurl https://registry.npmmirror.com/selenium/ --g
yarn config set node_inspector_cdnurl https://registry.npmmirror.com/node-inspector/