Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 27217da

Browse filesBrowse files
kemitchellzkat
authored andcommitted
test: Automatically audit dependency licenses (#70)
PR-URL: #70 Credit: @kemitchell Reviewed-By: @zkat
1 parent bcae4ea commit 27217da
Copy full SHA for 27217da

File tree

Expand file treeCollapse file tree

4 files changed

+113
-0
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+113
-0
lines changed

‎.licensee.json

Copy file name to clipboard
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"license": "(MIT OR BSD-2-Clause OR BSD-3-Clause OR Apache-2.0 OR ISC OR Unlicense OR CC-BY-3.0 OR CC0-1.0 OR Artistic-2.0)",
3+
"whitelist": {
4+
"config-chain": "1.1.11",
5+
"cyclist": "0.2.2",
6+
"json-schema": "0.2.3",
7+
"qrcode-terminal": "0.12.0"
8+
}
9+
}

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ install:
3333
- "node . install"
3434
script:
3535
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""
36+
- "node . run licenses"

‎package-lock.json

Copy file name to clipboardExpand all lines: package-lock.json
+101Lines changed: 101 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Copy file name to clipboardExpand all lines: package.json
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@
265265
],
266266
"devDependencies": {
267267
"deep-equal": "~1.0.1",
268+
"licensee": "^5.0.0",
268269
"marked": "^0.5.0",
269270
"marked-man": "~0.2.1",
270271
"npm-registry-couchapp": "^2.7.1",
@@ -279,6 +280,7 @@
279280
"dumpconf": "env | grep npm | sort | uniq",
280281
"prepare": "node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc",
281282
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
283+
"licenses": "licensee --production --errors-only",
282284
"tap": "tap --reporter=classic --timeout 300",
283285
"tap-cover": "tap --reporter=classic --nyc-arg='--cache' --coverage --timeout 600",
284286
"test": "standard && npm run test-tap",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.