标签:lis style uil ack org push tag json option
In package.json file:
"prepare": "npm run build", "postpublish": "git push --tags",
"prepare": make sure we don‘t forget to run build before publish the package
"postpublish": make sure after we publish the package, we also send tags to git
When we want to udpate the package version, we need to use "npm version [options]"
[Node] Prepare a package to be published to npm
标签:lis style uil ack org push tag json option
原文地址:https://www.cnblogs.com/Answer1215/p/12827695.html