npm config get registry
查看npm源,默认源是 https://registry.npmjs.org/
npm config set registry https://registry.npm.taobao.org
更换npm源
npm config get registry
查看npm源,默认源是 https://registry.npmjs.org/
npm config set registry https://registry.npm.taobao.org
更换npm源