node package manager

npm-prepack-publish

NPM Prepack And Publish npm version Build Status

See this blog post for the an introduction and tutorial.