From a0f1e81aa46d261b46b47abf16d31a228ad96aac Mon Sep 17 00:00:00 2001 From: Geno Roupsky Date: Thu, 10 Nov 2016 21:17:43 +0200 Subject: [PATCH] lint json files --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b22217e..3d8a00e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ "bugs": { "url": "https://github.com/hackafe/trello-config/issues" }, + "devDependencies": { + "jlint": "^3.0.2" + }, "engines": { "node": "*" }, @@ -19,11 +22,14 @@ ], "license": "ISC", "main": "config.json", + "files": [ + "config.json" + ], "repository": { "type": "git", "url": "git://github.com/hackafe/trello-config.git" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "jlint --glob '**.json'" } }