Merge pull request #527 from ericcornelissen/json-validator

Add Json validator
This commit is contained in:
Johan Fagerberg 2017-09-13 14:43:52 +02:00 committed by GitHub
commit 6e5f68d3b7
3 changed files with 22 additions and 1 deletions

4
.gitignore vendored
View File

@ -37,3 +37,7 @@ Temporary Items
*.css.map
# End of https://www.gitignore.io/api/sass,macos,jekyll
# NPM dependencies
node_modules/

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: node_js
node_js:
- "6"
script:
- npm run jsonlint
notifications:
email:
on_success: never
on_failure: change

View File

@ -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"
}
}