Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DragonNode.js License

Command line tool to check the licenses of the installed dependencies

Installing

Install the package globally:

npm install -g dragonnodejs-license

Running

Run the license command in the directory of your application:

license

It will output something like:

No license.json found
colors@1.1.2 MIT
dragonnodejs-license@2.0.0 MIT
nlf@1.3.2 MIT

Configuration

Add a "license.json" to the directory of your application:

{
    "licenses": ["MIT"]
}

After add the configuration another run should output something like:

All licenses are compatible

Possible 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: [])

About

Command line tool to check the licenses of the installed dependencies

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages