npm-license-crawler icon indicating copy to clipboard operation
npm-license-crawler copied to clipboard

Include peerDependencies

Open joebochill opened this issue 3 years ago • 0 comments

It would be great if the license crawler could also (or optionally) pick up licenses for packages listed in the peerDependencies.

I have a package that has a number of peerDependencies and some direct dependencies. Unfortunately I can't find a way to get the licenses for both listed in my licenses file. If I use the production dependencies, i only get the direct dependencies. If I use the development dependencies I miss the direct dependencies and also get a bunch of extra items that I would rather not have in the licenses file.

joebochill avatar Mar 31 '21 11:03 joebochill