npm --no-git-tag-version version [major | minor | patch]
# get the package.json version in a variable
export PKG_VER=`node -e "console.log(require('./package.json').version)"`
git commit -m "Incremented version to $PKG_VER" package.json README.md
git tag $PKG_VER
git push origin master
git push origin $PKG_VER
npm publish