Reputation: 1454
I'm working on a project with some private repos and have some Yeoman generators (and sub generators) set up locally. How do I include these as part of the project without publishing them to npm
?
I'd ideally like to have a way for me to do this without having to do the whole npm link
thing so if it was something that could go into the project's package.json
file that installed the generator locally when running npm install
it would be ideal.
Upvotes: 3
Views: 1363
Reputation: 11068
You can specify a git repo as a dependency (You know, your yeoman generator)
https://npmjs.org/doc/json.html#dependencies
Upvotes: 4