公司私有仓库,目前只支持内网访问
$ npm config set registry http://rnpm.uyundev.cn
$ npm install -g nrm
$ nrm add uyun http://rnpm.uyundev.cn # 添加uyun的npm源
$ nrm use uyun # 切换使用uyun的npm源
$ npm install [name]
# or
$ yarn add [name]
$ npm config set registry http://rnpm.uyundev.cn
# 或者使用nrm
$ nrm use uyun
$ npm login
Username: name
Password: ***
Email: (this IS public) name@uyunsoft.cn
package.json
目录执行如下命令$ npm publish
Copyright 2013 - present © cnpmjs.org