A Vile plugin for tracking and locking down your dependency licenses.
npm i -D vile vile-license
You specify the license types you can have and can't have in your .vile.yml
.
license:
config:
allowed: MPL-2.0
or:
license:
config:
allowed:
- MIT
- MPL-2.0
Note: Strings are partially matched, so be explicit (ex MPL-2.0
)
and use both whitelisting and blacklisting if you want to be sure you
don't have a false positive.
license:
config:
disallowed:
- Something
You can ignore specific packages as well.
license:
config:
ignored:
- some-pkg
Assumes files are in the cwd
.
Generates vile.SEC
for each license violation.
This project uses Semver.
This project is licensed under the MPL-2.0 license.
Any contributions made to this project are made under the current license.
Current list of Contributors.
Any contributions are welcome and appreciated!
All you need to do is submit a Pull Request.
- Please consider tests and code quality before submitting.
- Please try to keep commits clean, atomic and well explained (for others).
Current issue tracker is on GitHub.
Even if you are uncomfortable with code, an issue or question is welcome.
By participating in this project you agree to our Code of Conduct.
- Brent Lintner - @brentlintner
src
is es6+ syntax compiled with Babellib
generated js library
cd vile-license
npm install
npm run dev
npm test