You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to have a valid-licenses field in package.json that npm-license-crawler could cross-check with and give me all repos that don't validate. Ex. maybe I only want to accept dependencies with MIT license. So I write the following in my package.json:
And upon running npm-license-crawler validate (or in this case npm run validate-license) it would spit out only packages not matching my list of valid-licenses.
The text was updated successfully, but these errors were encountered:
Yes, this should be possible and I think it would make license crawler a lot easier to use. I am not sure if I can take this on in the next couple of weeks as I am very busy with other work right now. If you are in the position to contribute or you know someone who is in the position to do so I'll highly appreciate this.
Would it be possible to have a valid-licenses field in package.json that npm-license-crawler could cross-check with and give me all repos that don't validate. Ex. maybe I only want to accept dependencies with MIT license. So I write the following in my package.json:
And upon running
npm-license-crawler validate
(or in this casenpm run validate-license
) it would spit out only packages not matching my list of valid-licenses.The text was updated successfully, but these errors were encountered: