Skip to content

Commit 8a3cec7

Browse files
committed
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>
1 parent 132b445 commit 8a3cec7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "AGPL-3.0",
77
"scripts": {
88
"test": "npm run-script standard && npm run-script jsonlint",
9-
"jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' | while read json; do echo $json ; jq . $json; done",
9+
"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",
1010
"standard": "node ./node_modules/standard/bin/cmd.js",
1111
"dev": "webpack --config webpack.config.js --progress --colors --watch",
1212
"build": "webpack --config webpack.production.js --progress --colors --bail",

0 commit comments

Comments
 (0)