diff options
author | Christoph (Sheogorath) Kern | 2018-02-19 20:00:59 +0100 |
---|---|---|
committer | GitHub | 2018-02-19 20:00:59 +0100 |
commit | 6bcc72e09004a6f350005809008c3ecf14d45c41 (patch) | |
tree | 29fbe366cb8e1a0e39fdf81ab7857e552eb8acc6 | |
parent | 298d3d62bb014d62701ac570777b544bfe0b6d65 (diff) | |
parent | faa839ed3aa6ecb5fbda3873cafc4337ef195bd3 (diff) |
Merge pull request #735 from SISheogorath/fix/jsonlint
Use jq instead of jsonlint
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 5 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index c23ebcea..2ce5723c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,10 @@ jobs: - diff -q README.md README.md.orig language: generic - env: task=json-lint - install: npm install jsonlint + addons: + apt: + packages: + - jq script: - npm run jsonlint language: generic 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", |