$ npm version major|minor|patch
With message.
$ npm version patch -m "my annotated message"
$ npm publish
$ git push --tags
Update package.json to include the username scope:
{
"name": "@vutran/my-package"
}
Publish on NPM
$ npm publish --access public