dlicense
v1.0.0
Published
Check the licenses of the installed dependencies
Readme
Running
Run the dlicense command in the directory of your application:
It will output something like:
No "dlicense.json" found
[email protected] MIT
[email protected] MIT
[email protected] MITConfiguration
Add a dlicense.json to the directory of your application:
{
"licenses": ["MIT"]
}After add the configuration another run should output something like:
All licenses are compatiblePossible configurations:
- nlf:
- depth: The depth of the recursive check (default: 0)
- directory: The directory which will be checked (default: process.cwd())
- licenses: The list of the allowed licenses (default: [])
- proprietaries: The list of the allowed proprietary packages (default: [])
- ignores: The list of the ignored packages which are checked manually (default: [])
