mwittig / npm-license-crawler

Analyzes license information for multiple node.js modules (package.json files) as part of your software project.
BSD 3-Clause "New" or "Revised" License
233 stars 45 forks source link

Include peerDependencies #50

Open joebochill opened 3 years ago

joebochill commented 3 years ago

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.