I've got the problem, that I'm using the prepublish hook for compiling some modules with browserify. Unfortunately this hook is triggered when I'm releasing the module to npmjs.org, but it won't be triggered if someone puts the git url in package.json.
The documentation of npm stats that using the install hook (which works for my purpose) is an antipattern.
I recommend a new hook which serves this purpose, removing the antipattern from documentation or let prepublish be triggered on github urls on install too.
Yeah, we definitely want this; see #3055.