Question

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.

Was it helpful?

Solution

You can specify a git repo as a dependency (You know, your yeoman generator)

https://npmjs.org/doc/json.html#dependencies

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top