Switched to prepublish

https://npmjs.org/doc/misc/npm-scripts.html