licensee.js:根据规则检查依赖项许可证

时间:2024-05-21 13:08:52
【文件属性】:

文件名称:licensee.js:根据规则检查依赖项许可证

文件大小:40KB

文件格式:ZIP

更新时间:2024-05-21 13:08:52

JavaScript

被许可人 根据规则检查npm软件包依赖项许可证元数据。 配置 被许可方接受两种配置: 关于许可许可证的规则 名称和范围对的软件包白名单 您可以在包的根目录使用命令标志或.licensee.json文件设置配置,如下所示: { " licenses " : { " spdx " : [ " MIT " , " BSD-2-Clause " , " BSD-3-Clause " , " Apache-2.0 " ] }, " packages " : { " optimist " : " <=0.6.1 " }, " corrections " : false , " ignore " : [ { " scope " : " kemitchell " }, { " prefix


【文件预览】:
licensee.js-master
----.travis.yml(158B)
----LICENSE(11KB)
----README.md(5KB)
----.licensee.json(332B)
----tests()
--------ignored-scope()
--------licenses-array-with-corrections()
--------no-whitelist()
--------with-npm-errors-in-production()
--------production-only()
--------whitelisted()
--------run.js(310B)
--------ignored-author()
--------blue-oak-pass()
--------apache-2.0-mit-allowed()
--------blue-oak-gold-mit()
--------blue-oak-flag()
--------out-of-whitelisted-range()
--------osi-pass()
--------optimist-without-corrections()
--------no-dependencies()
--------ignored-prefix()
--------optimist-with-corrections-in-dotfile()
--------unlicensed-subdependency()
--------optimist-with-corrections()
--------blue-oak-fail()
--------mit-not-allowed()
----index.js(11KB)
----licensee(7KB)
----package.json(1KB)

网友评论