Skip to content

Commit

Permalink
Add an npm script to audit licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitchell committed Sep 14, 2018
1 parent 59e5056 commit 64f8b6d
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .licensee.json
@@ -0,0 +1,9 @@
{
"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)",
"whitelist": {
"config-chain": "1.1.11",
"cyclist": "0.2.2",
"json-schema": "0.2.3",
"qrcode-terminal": "0.12.0"
}
}
101 changes: 101 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -265,6 +265,7 @@
],
"devDependencies": {
"deep-equal": "~1.0.1",
"licensee": "^5.0.0",
"marked": "^0.5.0",
"marked-man": "~0.2.1",
"npm-registry-couchapp": "^2.7.1",
Expand All @@ -279,6 +280,7 @@
"dumpconf": "env | grep npm | sort | uniq",
"prepare": "node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc",
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
"licenses": "licensee --production --errors-only",
"tap": "tap --reporter=classic --timeout 300",
"tap-cover": "tap --reporter=classic --nyc-arg='--cache' --coverage --timeout 600",
"test": "standard && npm run test-tap",
Expand Down

0 comments on commit 64f8b6d

Please sign in to comment.