发布命令
// 创建组织范围的程序包
npm init --scope = <您的组织名称>
// 发布公共组织范围的包
npm publish --access public
// 添加标签
npm publish --tag beta
// 当我们的prerelease版本已经稳定了,重新设置为稳定版本
npm dist-tag add bate@1.0.2 latest
// 创建组织范围的程序包
npm init --scope = <您的组织名称>
// 发布公共组织范围的包
npm publish --access public
// 添加标签
npm publish --tag beta
// 当我们的prerelease版本已经稳定了,重新设置为稳定版本
npm dist-tag add bate@1.0.2 latest
npm i @xfjs/xf-utils
1
0.0.4
ISC
4.46 kB
5