Add initial prepublish hook for npm.