-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global hook #3
Comments
Yup, looked into this before, it's not possible to do after installing each new module in your project (i.e. It's as simple as: // in package.json
{
// ...
"scripts": {
"postinstall": "john"
},
"devDependencies": {
"john": "^1"
},
} You obviously don't need to have |
Oh wait, I think I misunderstood what you've said. Yeah would be very interested in a global hook! |
Yea, the point is for you not to have it in individual repositories, so you can have it purely installed locally in your global modules, and trigger it automatically wherever I'll look at it over the weekend and see if there's a way to do it |
Cool, yeah that would be very useful! |
Was idly thinking about this earlier, and only did some basic research on it so far, but it could be kinda neat if there's a way to create a global hook with
npm
so that it runsjohn
after every postnpm install
on a directory so you don't have to add it to everypackage.json
in your projectsFood for thought, gonna look at it more this weekend
The text was updated successfully, but these errors were encountered: