2016年4月8日 星期五

publish npm module, package

from: https://docs.npmjs.com/getting-started/publishing-npm-packages

Publish

npm init

....when finishing your project

npm publish



Update version

npm version patch

npm 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.

沒有留言:

張貼留言