UNPKG

2.83 kBJSONView Raw
1{
2 "name": "@loopback/rest",
3 "description": "Expose controllers as REST endpoints and route REST API requests to controller methods",
4 "version": "14.0.8",
5 "license": "MIT",
6 "main": "dist/index.js",
7 "types": "dist/index.d.ts",
8 "author": "IBM Corp. and LoopBack contributors",
9 "copyright.owner": "IBM Corp. and LoopBack contributors",
10 "repository": {
11 "type": "git",
12 "url": "https://github.com/loopbackio/loopback-next.git",
13 "directory": "packages/rest"
14 },
15 "engines": {
16 "node": "18 || 20 || 22"
17 },
18 "scripts": {
19 "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
20 "build": "lb-tsc",
21 "clean": "lb-clean loopback-rest*.tgz dist *.tsbuildinfo package",
22 "pretest": "npm run build",
23 "integration": "lb-mocha \"dist/__tests__/integration/**/*.js\"",
24 "test": "lb-mocha \"dist/__tests__/**/*.js\"",
25 "unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"",
26 "verify": "npm pack && tar xf loopback-rest*.tgz && tree package && npm run clean"
27 },
28 "publishConfig": {
29 "access": "public"
30 },
31 "files": [
32 "README.md",
33 "dist",
34 "src",
35 "!*/__tests__"
36 ],
37 "peerDependencies": {
38 "@loopback/core": "^6.0.0"
39 },
40 "dependencies": {
41 "@loopback/express": "^7.0.8",
42 "@loopback/http-server": "^6.0.8",
43 "@loopback/openapi-v3": "^10.0.8",
44 "@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0",
45 "@types/body-parser": "^1.19.5",
46 "@types/cors": "^2.8.17",
47 "@types/express": "^4.17.21",
48 "@types/express-serve-static-core": "^4.17.37",
49 "@types/http-errors": "^2.0.4",
50 "@types/on-finished": "^2.3.4",
51 "@types/serve-static": "1.15.7",
52 "@types/type-is": "^1.6.6",
53 "ajv": "^8.17.1",
54 "ajv-errors": "^3.0.0",
55 "ajv-formats": "^3.0.1",
56 "ajv-keywords": "^5.1.0",
57 "body-parser": "^1.20.3",
58 "cors": "^2.8.5",
59 "debug": "^4.3.7",
60 "express": "^4.21.1",
61 "http-errors": "^2.0.0",
62 "js-yaml": "^4.1.0",
63 "json-schema-compare": "^0.2.2",
64 "lodash": "^4.17.21",
65 "on-finished": "^2.4.1",
66 "path-to-regexp": "^6.3.0",
67 "qs": "^6.13.0",
68 "strong-error-handler": "^5.0.13",
69 "tslib": "^2.6.3",
70 "type-is": "^1.6.18",
71 "validator": "^13.12.0"
72 },
73 "devDependencies": {
74 "@loopback/build": "^11.0.7",
75 "@loopback/core": "^6.1.5",
76 "@loopback/eslint-config": "^15.0.4",
77 "@loopback/openapi-spec-builder": "^7.0.7",
78 "@loopback/repository": "^7.0.8",
79 "@loopback/testlab": "^7.0.7",
80 "@types/debug": "^4.1.12",
81 "@types/js-yaml": "^4.0.9",
82 "@types/json-schema-compare": "^0.2.4",
83 "@types/lodash": "^4.17.13",
84 "@types/multer": "^1.4.12",
85 "@types/node": "^16.18.119",
86 "@types/on-finished": "^2.3.4",
87 "@types/qs": "^6.9.17",
88 "multer": "^1.4.4"
89 },
90 "gitHead": "c9b47e2a76054557e56df5ac6527a99c2ecc6a42"
91}