Skip to content

Commit

Permalink
Audit exceptions in separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdeckers committed Oct 11, 2015
1 parent 8bad873 commit 060558d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions node-license-validator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"deep": true,
"production": true,
"allow-licenses": [
"ISC",
"MIT",
"BSD",
"WTFPL",
"BSD-2-Clause",
"BSD-3-Clause",
"Apache-2.0",
"CC-BY-3.0",
"Unlicense"
],
"allow-packages": [
"form-data@0.0.3",
"install@0.1.8",
"mime@1.2.7",
"request@2.11.4",
"wordwrap@0.0.2",
"yargs@1.3.3",
"jsonify@0.0.0",
"indexof@0.0.1",
"optimist@0.2.8",
"caniuse-db@1.0.30000339",
"asn1@0.1.11",
"aws-sign2@0.5.0",
"commondir@0.0.1",
"ctype@0.5.3",
"htmlescape@1.1.0",
"tunnel-agent@0.4.1"
]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "npm run clean && npm run build && node server.js",
"test": "npm run test-audit && npm run test-lint && npm run test-js",
"test-js": "mocha",
"test-audit": "node-license-validator --deep --production --allow-licenses ISC MIT BSD WTFPL BSD-2-Clause BSD-3-Clause Apache-2.0 CC-BY-3.0 Unlicense --allow-packages form-data@0.0.3 install@0.1.8 mime@1.2.7 request@2.11.4 wordwrap@0.0.2 yargs@1.3.3 jsonify@0.0.0 indexof@0.0.1 optimist@0.2.8",
"test-audit": "node-license-validator",
"test-lint": "standard",
"clean": "rimraf dist",
"watch": "npm run clean && mkdirp dist && npm-watch & npm run watch-frontend & npm run watch-backend",
Expand Down Expand Up @@ -56,7 +56,7 @@
"chai": "^3.3.0",
"localtunnel": "^1.7.0",
"mocha": "^2.3.3",
"node-license-validator": "^1.1.0",
"node-license-validator": "^1.2.0",
"nodemon": "^1.7.1",
"npm-watch": "0.0.1",
"sinon": "^1.17.1",
Expand Down

0 comments on commit 060558d

Please sign in to comment.