Comparing version 2.0.1 to 3.0.0
{ | ||
"name": "licensee", | ||
"description": "check dependency licenses against rules", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (https://kemitchell.com/)", | ||
"dependencies": { | ||
"docopt": "^0.6.2", | ||
"fs-access": "^1.0.0", | ||
@@ -8,0 +9,0 @@ "read-package-tree": "^5.1.2", |
@@ -1,9 +0,15 @@ | ||
Check dependency licenses against rules. | ||
Check npm package dependency license metadata against rules. | ||
# Configuration | ||
Create a `.licensee.json` file at the root of your package. Here is an example. | ||
Licensee accepts two kinds of configuration: | ||
1. a rule about permitted licenses | ||
2. a package whitelist of name-and-range pairs | ||
You can set configuration with command flags or a `.licensee.json` | ||
file at the root of your package, like so: | ||
```json | ||
{ "license": "(MIT OR BSD-2-Clause OR BSD-3-Clause OR ISC OR Apache-2.0 OR WTFPL OR Unlicense)", | ||
{ "license": "(MIT OR BSD-2-Clause OR BSD-3-Clause OR Apache-2.0)", | ||
"whitelist": { "optimist": "<=0.6.1" } } | ||
@@ -10,0 +16,0 @@ ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19841
79
6
+ Addeddocopt@^0.6.2
+ Addeddocopt@0.6.2(transitive)