from: https://docs.npmjs.com/getting-started/publishing-npm-packages
....when finishing your project
npm publish
npm publish
npm publish
Publish
npm init....when finishing your project
npm publish
Update version
npm version patchnpm publish
little Update
npm version minor
npm publish
types: patch, minor, or major
Test: Go to
https://npmjs.com/package/<package>
. The package number should be updated.
沒有留言:
張貼留言