发布包到npmjs上,在仓库目录执行下面命令,如不指定registry,会使用本地的registry配置
npm login --registry=https://registry.npmjs.org
npm whoami --registry=https://registry.npmjs.org
npm publish --registry=https://registry.npmjs.org
发布包到npmjs上,在仓库目录执行下面命令,如不指定registry,会使用本地的registry配置
npm login --registry=https://registry.npmjs.org
npm whoami --registry=https://registry.npmjs.org
npm publish --registry=https://registry.npmjs.org