publish () {
  git fetch
  if [[ $(git rev-parse HEAD) != $(git rev-parse @{u}) ]]; then
    return 1
  fi
  npm version $1 && git push origin --tags && npm publish
}

module () {
  cd $PROJECTS
  mkdir $1
  cd $1
  git init
  hub create
  travis enable --no-interactive &
  yo bd
}

Add `publish` and `module` helper fns for npm
Add `publish` and `module` helper fns for npm
