From b194931025e1eca48ed4672a41fea4d5270c3adf Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Mon, 11 Sep 2017 21:56:40 +0200 Subject: [PATCH] Add NPM script Travis configuration for jsonlint --- .travis.yml | 11 +++++++++++ package.json | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..1f440be70 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: node_js +node_js: + - "6" + +script: + - npm run jsonlint + +notifications: + email: + on_success: never + on_failure: change diff --git a/package.json b/package.json index 447c6abff..4c5c22269 100644 --- a/package.json +++ b/package.json @@ -13,5 +13,8 @@ "license": "CCO", "devDependencies": { "jsonlint": "^1.6.2" + }, + "scripts": { + "jsonlint": "jsonlint _data/simple-icons.json -q" } }