diff --git a/.gitignore b/.gitignore index 675cb3c5..40af94be 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,7 @@ Temporary Items *.css.map # End of https://www.gitignore.io/api/sass,macos,jekyll + + +# NPM dependencies +node_modules/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..1f440be7 --- /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 38d357d8..4c5c2226 100644 --- a/package.json +++ b/package.json @@ -10,5 +10,11 @@ "main": "_data/simple-icons.json", "repository": "git@github.com:danleech/simple-icons.git", "author": "Dan Leech", - "license": "CCO" + "license": "CCO", + "devDependencies": { + "jsonlint": "^1.6.2" + }, + "scripts": { + "jsonlint": "jsonlint _data/simple-icons.json -q" + } }