1.登录
npm login --registry https://registry.npmjs.org/
2.修改 publishConfig
"publishConfig": { "registry": "https://registry.npmjs.org/" },
3.发版
获取验证码
npm publish --registry https://registry.npmjs.org/ --tag alpha
.