UNPKG

openapi-connect

Version:
99 lines (98 loc) 2.95 kB
{ "name": "openapi-connect", "version": "2.7.1", "description": "Base for microservices around OpenAPI/Swagger", "main": "lib/index.js", "typings": "lib/index.d.ts", "keywords": [ "OpenAPI", "openapi", "OpenID", "openid", "Swagger", "swagger", "connect", "microservices", "OAuth" ], "repository": "https://github.com/TargetProcess/sdk_openapi-connect", "author": "Pavel Shapel <shapel@targetprocess.com>", "license": "ISC", "scripts": { "lint": "prettier-check src/**/*.ts && npm run _tslint", "lint:fix": "npm run _tslint:fix && npm run _prettier", "build": "npm run _clean && tsc --pretty && npm run _prettier", "build:watch": "npm run build -- --watch", "test": "mocha -t 5000 --require ts-node/register --recursive \"src/**/*.spec.ts\"", "test:watch": "npm run test -- --watch", "start:examples": "ts-node examples/simple", "_clean": "rimraf lib", "_validate": "npm ls", "_tslint": "tslint --project tsconfig-tslint.json --format verbose \"src/**/*.ts\" -e \"**/node_modules/**\"", "_tslint:fix": "tslint --project tsconfig-tslint.json --fix \"src/**/*.ts\" -e \"**/node_modules/**\" -e \"**/lib/**\"", "_prettier": "prettier --config .prettierrc --write \"src/**/*.ts\"", "validate": "npm ls" }, "dependencies": { "@loopback/openapi-spec": "^0.3.0", "@targetprocess/swagger-tools": "^1.1.1", "@types/body-parser": "^1.19.5", "@types/connect": "^3.4.33", "@types/cors": "^2.8.6", "@types/helmet": "0.0.47", "@types/swagger-tools": "^0.10.9", "body-parser": "^1.20.3", "connect": "^3.7.0", "cors": "^2.8.5", "express-jwt": "^8.4.1", "express-unless": "^2.1.3", "express-winston": "^4.0.5", "helmet": "^3.22.0", "js-yaml": "^3.14.1", "jwks-rsa": "^3.0.1", "lodash.matches": "^4.6.0", "loggerism": "^2.3.10", "mem": "^6.1.0", "openid-client": "^5.6.5", "prom-client": "^12.0.0", "promise-memoize": "^1.2.1", "response-time": "^2.3.4", "semver": "^5.7.2", "server-destroy": "^1.0.1", "url-value-parser": "^2.2.0", "uuid": "^9.0.1" }, "devDependencies": { "@types/chai": "^4.2.11", "@types/js-yaml": "^3.12.4", "@types/mocha": "^10.0.1", "@types/mock-require": "^2.0.0", "@types/node": "^12.12.2", "@types/response-time": "^2.3.5", "@types/server-destroy": "^1.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "husky": "^4.2.5", "mocha": "^10.2.0", "mock-require": "^3.0.3", "prettier": "^2.0.5", "prettier-check": "^2.0.0", "rimraf": "^3.0.2", "sinon": "^9.0.2", "ts-node": "^8.10.2", "tslint": "^6.1.2", "tslint-config-prettier": "^1.18.0", "typescript": "^4.9.4" }, "overrides": { "superagent": "^10.2.3" }, "files": [ "lib" ], "husky": { "hooks": { "pre-commit": "npm run lint && npm run test" } } }