summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorSheogorath2018-02-19 19:01:32 +0100
committerSheogorath2018-02-19 19:50:01 +0100
commitfaa839ed3aa6ecb5fbda3873cafc4337ef195bd3 (patch)
tree29fbe366cb8e1a0e39fdf81ab7857e552eb8acc6 /package.json
parent298d3d62bb014d62701ac570777b544bfe0b6d65 (diff)
Use jq instead of jsonlint
As the jsonlint package from NPM causes problems and looks unmaintained, it'll be replaced with `jq` a well maintained project which allows to search through JSON files in a `grep`-like style, but knowing the JSON structure. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6f6b1185..ba8b05d7 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 ; jsonlint -q $json; done",
+ "jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' | 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",