json-schema-test
Version:
Testing JSON schemas against sample data
48 lines (47 loc) • 1.07 kB
JSON
{
"name": "json-schema-test",
"version": "2.0.0",
"description": "Testing JSON schemas against sample data",
"main": "index.js",
"scripts": {
"test-pass": "mocha spec/*.pass.js -R spec",
"test-fail": "mocha spec/*.fail.js -R spec | grep ' 0 passing' | grep -q '0'",
"test-spec": "npm run test-pass && npm run test-fail",
"test": "nyc npm run test-spec"
},
"repository": {
"type": "git",
"url": "https://github.com/MailOnline/json-schema-test.git"
},
"keywords": [
"JSON",
"schema",
"test"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/MailOnline/json-schema-test/issues"
},
"homepage": "https://github.com/MailOnline/json-schema-test",
"dependencies": {
"glob": "^5.0.10"
},
"devDependencies": {
"ajv": "^4.9.0",
"coveralls": "^2.11.15",
"mocha": "^3.2.0",
"nyc": "^10.0.0",
"pre-commit": "^1.1.3"
},
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
}
}