使用nrm管理npm源
nrm add rofo http://localhost:8081/repository/rofo-npm-group/
nrm use rofo
或者
npm config set registry http://localhost:8081/repository/rofo-npm-group/
npm登录
npm login -registry=http://localhost:8081/repository/rofo-npm-hosted/
npm发布包到私服
npm publish -registry=http://localhost:8081/repository/rofo-npm-hosted/