summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheogorath2018-04-14 22:20:35 +0200
committerSheogorath2018-04-14 22:20:35 +0200
commit8a3cec73c140bd07b5e9e8631eec079ed63dd2a6 (patch)
tree18e4537da05272bf4264c1e5db00da7e849bff52
parent132b445fefda5bf7d8af69ebe3353440e7f7612d (diff)
Add config.json.example to npm test
This commit extends the find command to also match the example config file. This should validate the syntax or this file to prevent syntax errors for future pull request. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6cf495c9..6ea8010f 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"license": "AGPL-3.0",
"scripts": {
"test": "npm run-script standard && npm run-script jsonlint",
- "jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' | while read json; do echo $json ; jq . $json; done",
+ "jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done",
"standard": "node ./node_modules/standard/bin/cmd.js",
"dev": "webpack --config webpack.config.js --progress --colors --watch",
"build": "webpack --config webpack.production.js --progress --colors --bail",