@loopback/rest
Version:
Expose controllers as REST endpoints and route REST API requests to controller methods
92 lines (91 loc) • 2.82 kB
JSON
{
"name": "@loopback/rest",
"description": "Expose controllers as REST endpoints and route REST API requests to controller methods",
"version": "13.1.3",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "IBM Corp. and LoopBack contributors",
"copyright.owner": "IBM Corp. and LoopBack contributors",
"repository": {
"type": "git",
"url": "https://github.com/loopbackio/loopback-next.git",
"directory": "packages/rest"
},
"engines": {
"node": "16 || 18 || 20"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"clean": "lb-clean loopback-rest*.tgz dist *.tsbuildinfo package",
"pretest": "npm run build",
"integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
"test": "lb-mocha \"dist/__tests__/**/*.js\"",
"unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"",
"verify": "npm pack && tar xf loopback-rest*.tgz && tree package && npm run clean"
},
"publishConfig": {
"access": "public"
},
"files": [
"README.md",
"dist",
"src",
"!*/__tests__"
],
"peerDependencies": {
"@loopback/core": "^5.0.0"
},
"dependencies": {
"@loopback/express": "^6.1.3",
"@loopback/http-server": "^5.1.3",
"@loopback/openapi-v3": "^9.1.3",
"@openapi-contrib/openapi-schema-to-json-schema": "^4.0.5",
"@types/body-parser": "^1.19.2",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/express-serve-static-core": "^4.17.36",
"@types/http-errors": "^2.0.1",
"@types/on-finished": "^2.3.2",
"@types/serve-static": "1.15.2",
"@types/type-is": "^1.6.3",
"ajv": "^8.12.0",
"ajv-errors": "^3.0.0",
"ajv-formats": "^2.1.1",
"ajv-keywords": "^5.1.0",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"debug": "^4.3.4",
"express": "^4.18.2",
"http-errors": "^2.0.0",
"js-yaml": "^4.1.0",
"json-schema-compare": "^0.2.2",
"lodash": "^4.17.21",
"on-finished": "^2.4.1",
"path-to-regexp": "^6.2.1",
"qs": "^6.11.2",
"strong-error-handler": "^5.0.1",
"tslib": "^2.6.2",
"type-is": "^1.6.18",
"validator": "^13.11.0"
},
"devDependencies": {
"@loopback/build": "^10.1.3",
"@loopback/core": "^5.1.3",
"@loopback/eslint-config": "^14.0.4",
"@loopback/openapi-spec-builder": "^6.1.3",
"@loopback/repository": "^6.1.3",
"@loopback/testlab": "^6.1.3",
"@types/debug": "^4.1.8",
"@types/js-yaml": "^4.0.5",
"@types/json-schema-compare": "^0.2.1",
"@types/lodash": "^4.14.198",
"@types/multer": "^1.4.7",
"@types/node": "^16.18.50",
"@types/on-finished": "^2.3.2",
"@types/qs": "^6.9.8",
"multer": "^1.4.4"
},
"gitHead": "9107199cdf1597260ee03e2a903b7db0dec8445d"
}