npm publisher 源码
@ isbl /已发布 自动化发布过程 如何 从npm安装 yarn add -D @isbl/publisher 添加到package.json的脚本 { " repository " : { " type " : " git " , " url " : " https://github.com/CodeWitchBella/npm-publisher.git " }, " scripts " : { " prepublishOnly " : " isbl-publisher prepublishOnly " , " publish:npm " : " yarn build && isbl-publisher publish path-to-gitlab-token " } } 如果repository.url指向github,则不需要
用户评论