UNPKG

openapi-backend

Version:

Build, Validate, Route, Authenticate and Mock using OpenAPI definitions. Framework-agnostic

84 lines (83 loc) 2.03 kB
{ "name": "openapi-backend", "description": "Build, Validate, Route, Authenticate and Mock using OpenAPI definitions. Framework-agnostic", "version": "5.13.0", "author": "Viljami Kuosmanen <viljami@viljami.io>", "funding": "https://github.com/sponsors/anttiviljami", "license": "MIT", "keywords": [ "openapi", "swagger", "server", "router", "validation", "mock", "express", "hapi", "koa", "serverless", "lambda", "azure" ], "homepage": "https://openapistack.co", "repository": { "type": "git", "url": "git+https://github.com/openapistack/openapi-backend.git" }, "bugs": { "url": "https://github.com/openapistack/openapi-backend/issues" }, "main": "index.js", "types": "index.d.ts", "files": [ "*.js", "*.d.ts", "*.map", "!*.test.*", "!**/*.test.*", "!scripts", "!node_modules", "!examples", "!src", "!*.config.js" ], "dependencies": { "@apidevtools/json-schema-ref-parser": "^11.1.0", "ajv": "^8.6.2", "bath-es5": "^3.0.3", "cookie": "^1.0.1", "dereference-json-schema": "^0.2.1", "lodash": "^4.17.15", "mock-json-schema": "^1.0.7", "openapi-schema-validator": "^12.0.0", "openapi-types": "^12.0.2", "qs": "^6.9.3" }, "devDependencies": { "@types/cookie": "^1.0.0", "@types/jest": "^29.5.12", "@types/json-schema": "^7.0.7", "@types/lodash": "^4.14.122", "@types/node": "^20.0.0", "@types/qs": "^6.9.1", "@typescript-eslint/eslint-plugin": "^6.7.4", "@typescript-eslint/parser": "^6.7.4", "eslint": "^8.51.0", "jest": "^29.7.0", "prettier": "^3.0.0", "source-map-support": "^0.5.10", "ts-jest": "^29.1.1", "typescript": "^5.2.2" }, "scripts": { "build": "tsc", "watch-build": "tsc -w", "lint": "eslint src/ --ext ts", "prettier": "prettier --write src/**", "prepublishOnly": "npm run build", "test": "NODE_ENV=test jest" }, "engines": { "node": ">=12.0.0" } }