npm 发布自己package

发布自己写的package

首先确保registry正确



npm config get registry

### 检查registry,如果是淘宝https://registry.npm.taobao.org/,更改正确的

npm config set registry=http://registry.npmjs.org

登录账号

npm adduser

Username: xxx
Password: xxx
Email: (this IS public) xxx

发布

cd mypackage

npm publish .
+ apkreader@1.0.4

猜你喜欢

转载自blog.csdn.net/a19891024/article/details/78417151