swagger-object-validator
Version:
Validate your objects against a swagger spec and receive in-depth error traces
59 lines (58 loc) • 1.69 kB
JSON
{
"name": "swagger-object-validator",
"version": "1.4.5",
"description": "Validate your objects against a swagger spec and receive in-depth error traces",
"license": "MIT",
"repository": "https://github.com/YStrauch/swagger-object-validator",
"author": "Yaron Strauch <npm@yaron-strauch.com> (http://yaron-strauch.com)",
"keywords": [
"swagger",
"swagger2",
"validation",
"validator",
"spec",
"model",
"object",
"data"
],
"files": [
"lib",
"example.js"
],
"main": "lib/handler.js",
"typings": "lib/handler.d.ts",
"scripts": {
"clean": "rimraf lib",
"lint": "eslint \"src/**/*.ts\"",
"build": "npm run clean && npm run lint && tsc --pretty",
"test": "npm run build && mocha --require ts-node/register --recursive test/**/*.spec.ts",
"debug": "npm run build && mocha --require ts-node/register --recursive test/**/*.spec.ts --inspect-brk",
"watch": "npm run build -- --watch",
"watch:test": "npm run test -- --watch"
},
"dependencies": {
"@types/bluebird": "^3.5.36",
"@types/swagger-schema-official": "<2.0.18",
"bluebird": "^3.7.2",
"js-yaml": "^4.0.5"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/js-yaml": "^4.0.5",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.5",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"chai": "^4.2.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"mocha": "^9.0.0",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
},
"engines": {
"node": ">=12.0.0"
},
"runkitExampleFilename": "example.js"
}