Skip to content


Subversion checkout URL

You can clone with
Download ZIP


prepublish is never triggered when using git urls #3423

Gottox opened this Issue · 1 comment

2 participants


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, 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.

@domenic domenic closed this
@alliv8 alliv8 referenced this issue in shimaore/esl

Cant fork successfully #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.