-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.21 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "@trojs/openapi-server",
"description": "OpenAPI Server",
"version": "3.7.0",
"author": {
"name": "Pieter Wigboldus",
"url": "https://trojs.org/"
},
"license": "MIT",
"scripts": {
"lint": "eslint",
"lint:report": "eslint src/*.js -f json -o report.json",
"lint:fix": "eslint --fix",
"test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=./coverage/lcov.info",
"cpd": "node_modules/jscpd/bin/jscpd src",
"vulnerabilities": "npm audit --omit=dev",
"build:types": "tsc",
"prepublishOnly": "rm -rf types && npm run build:types"
},
"type": "module",
"types": "types/server.d.ts",
"files": [
"src/api.js",
"src/openapi.js",
"src/router.js",
"src/server.js",
"src/error-status.js",
"src/types.js",
"src/params.js",
"src/express-callback.js",
"src/operation-ids.js",
"src/handlers/not-found.js",
"src/handlers/request-validation.js",
"src/handlers/response-validation.js",
"src/handlers/unauthorized.js",
"types/**"
],
"main": "src/server.js",
"devDependencies": {
"@trojs/lint": "^0.4.0",
"@types/node": "^24.0.0",
"@types/express-serve-static-core": "^5.0.0",
"eslint": "^10.0.0",
"globals": "^17.0.0",
"jscpd": "^4.0.5",
"prettier": "^3.3.3",
"supertest": "^7.0.0",
"typescript": "^5.9.2"
},
"repository": {
"type": "git",
"url": "https://github.com/trojs/openapi-server"
},
"engines": {
"node": ">= 20 < 21 || >= 22 < 25"
},
"keywords": [
"openapi",
"server",
"express"
],
"dependencies": {
"@sentry/node": "^10.0.0",
"ajv-formats": "^3.0.0",
"body-parser": "^2.0.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^5.0.0",
"helmet": "^8.0.0",
"openapi-backend": "^5.9.2",
"swagger-ui-express": "^5.0.0"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/w3nl"
},
"overrides": {
"semver@<=7.5.3": "^7.5.3",
"send@<=0.19.0": "^0.19.0",
"cookie@<=0.7.0": "0.7.0",
"@apidevtools/json-schema-ref-parser@<=14.0.0": "14.0.0",
"lodash@<=4.17.23": "4.17.23"
}
}