From ba7e7b1c55df98ee87c36f22a53bcff1701f9942 Mon Sep 17 00:00:00 2001 From: systimotic Date: Thu, 27 Oct 2016 22:58:59 +0200 Subject: [PATCH] Replace jsonlint with jsonlint-cli --- .snyk | 4 +++- package.json | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.snyk b/.snyk index 0f6a608ffc..747bbf95dc 100644 --- a/.snyk +++ b/.snyk @@ -1,4 +1,4 @@ -version: v1.5.0 +version: v1.5.2 ignore: {} patch: 'npm:marked:20150520': @@ -9,6 +9,8 @@ patch: 'npm:minimatch:20160620': - gulp > vinyl-fs > glob-stream > minimatch: patched: '2016-07-09T00:55:04.882Z' + jsonlint-cli > minimatch: + patched: '2016-10-27T21:56:34.219Z' - gulp > vinyl-fs > glob-stream > glob > minimatch: patched: '2016-07-09T00:55:04.882Z' - rev-del > mocha > glob > minimatch: diff --git a/package.json b/package.json index 8fd91b1af0..9737417f38 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,10 @@ "prestart-production": "bower cache clean && bower install && gulp build -p", "start-production": "node pm2Start", "lint": "npm run lint-js && npm run lint-json", - "lint-challenges": "jsonlint -q seed/challenges/**/*.json", - "lint-server": "jsonlint -q server/*.json", - "lint-resources": "jsonlint -q server/resources/*.json", - "lint-utils": "jsonlint -q server/utils/*.json", + "lint-challenges": "jsonlint-cli seed/challenges/**/*.json", + "lint-server": "jsonlint-cli server/*.json", + "lint-resources": "jsonlint-cli server/resources/*.json", + "lint-utils": "jsonlint-cli server/utils/*.json", "prelint-js": "npm run create-rev", "lint-js": "eslint --ext=.js,.jsx server/ common/ config/ client/", "lint-json": "npm run lint-server && npm run lint-challenges && npm run lint-resources && npm run lint-utils", @@ -64,6 +64,7 @@ "history": "^2.0.0", "invariant": "^2.2.1", "jade": "^1.11.0", + "jsonlint-cli": "^1.0.1", "lodash": "^4.1.0", "loopback": "^2.22.0", "loopback-boot": "^2.13.0", @@ -152,7 +153,6 @@ "gulp-util": "^3.0.6", "istanbul-coveralls": "^1.0.3", "json-loader": "~0.5.2", - "jsonlint": "^1.6.2", "less": "^2.5.1", "loopback-component-explorer": "^2.1.1", "merge-stream": "^1.0.0",