Added build process for npm publish.