1.0.0 • Published 2 years ago
npm-test-utils v1.0.0
清除git 状态
git rm -r --cached . 清除所有的跟踪文件
git rm -r --cached 文件名 清除指定的跟踪文件
登录 npm, 若无账号,请在https://www.npmjs.com/ 注册账号
npm adduser Username: 你的npm用户名 Password: Email: (this IS public) 填写邮箱 Logged in as youthcity on https://registry.npmjs.org/.
发布包
npm publish
如果包名是@用户名的私有仓库,需要付费,如果开源 需使用以下命令进行发布
npm publish --access public
1.0.0
2 years ago