UNPKG

@loopback/rest

Version:

Expose controllers as REST endpoints and route REST API requests to controller methods

92 lines (91 loc) 2.83 kB
{ "name": "@loopback/rest", "description": "Expose controllers as REST endpoints and route REST API requests to controller methods", "version": "14.0.13", "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": "18 || 20 || 22" }, "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": "^6.0.0" }, "dependencies": { "@loopback/express": "^7.0.13", "@loopback/http-server": "^6.0.13", "@loopback/openapi-v3": "^10.0.13", "@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0", "@types/body-parser": "^1.19.5", "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/express-serve-static-core": "^4.17.37", "@types/http-errors": "^2.0.4", "@types/on-finished": "^2.3.4", "@types/serve-static": "1.15.7", "@types/type-is": "^1.6.7", "ajv": "^8.17.1", "ajv-errors": "^3.0.0", "ajv-formats": "^3.0.1", "ajv-keywords": "^5.1.0", "body-parser": "^2.2.0", "cors": "^2.8.5", "debug": "^4.4.0", "express": "^4.21.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.3.0", "qs": "^6.14.0", "strong-error-handler": "^5.0.18", "tslib": "^2.8.1", "type-is": "^2.0.1", "validator": "^13.15.0" }, "devDependencies": { "@loopback/build": "^11.0.11", "@loopback/core": "^6.1.10", "@loopback/eslint-config": "^15.0.5", "@loopback/openapi-spec-builder": "^7.0.12", "@loopback/repository": "^7.0.13", "@loopback/testlab": "^7.0.12", "@types/debug": "^4.1.12", "@types/js-yaml": "^4.0.9", "@types/json-schema-compare": "^0.2.4", "@types/lodash": "^4.17.16", "@types/multer": "^1.4.12", "@types/node": "^16.18.126", "@types/on-finished": "^2.3.4", "@types/qs": "^6.9.18", "multer": "^1.4.4" }, "gitHead": "1a389bb6fe31fec81a82825493cc66f830cd6655" }