-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.8 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 2.8 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"author": "alessandro falezza",
"bin": {
"openapi-server": "./bin/openapi-server.js"
},
"dependencies": {
"ajv": "^7.2.4",
"axios": "^1.13.4",
"commander": "^7.2.0",
"compression": "^1.8.1",
"cors": "^2.8.6",
"dotenv": "^8.6.0",
"dotenv-expand": "^5.1.0",
"express": "^4.22.1",
"glob": "^7.2.3",
"jest-transform-stub": "^2.0.0",
"js-yaml": "^4.1.1",
"json-refs": "^3.0.15",
"json-schema-resolve-allof": "^1.5.0",
"lodash": "^4.17.23",
"mock-express-request": "^0.2.2",
"mock-express-response": "^0.3.0",
"node-fetch": "^2.7.0",
"openapi-schema-validator": "^7.2.3",
"openapi-types": "^7.2.3",
"postman-request": "^2.88.1-postman.8-beta.1",
"request": "^2.88.2",
"request-promise": "^4.2.6",
"tslib": "^2.8.1",
"typescript": "^5.9.3"
},
"description": "A web server based on openApi spec, with proxy, mocks and optional validation",
"devDependencies": {
"@types/compression": "^1.8.1",
"@types/cors": "^2.8.19",
"@types/dotenv": "^8.2.3",
"@types/express": "^4.17.25",
"@types/express-serve-static-core": "^4.19.8",
"@types/glob": "^7.2.0",
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.23",
"@types/node": "^20.x",
"@types/node-fetch": "^2.6.13",
"@types/prettier": "^1.19.1",
"@types/request": "^2.48.13",
"@types/request-promise": "^4.1.51",
"@types/serve-static": "^1.15.10",
"auto-changelog": "^2.5.0",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"ts-jest": "^29.4.6",
"typesync": "^0.14.3"
},
"engines": {
"node": ">=18"
},
"files": [
"cert/**/*",
"dist/**/*",
"bin/**/*",
"examples/**/*"
],
"license": "ISC",
"main": "dist/index.js",
"name": "@openapiserver/openapi-server-mock",
"repository": {
"type": "git",
"url": "https://github.com/intesys/openapi-server.git"
},
"bugs": {
"url": "https://github.com/intesys/openapi-server/issues"
},
"homepage": "https://github.com/intesys/openapi-server#readme",
"keywords": [
"openapi",
"swagger",
"mock",
"server",
"api",
"proxy",
"express",
"testing"
],
"scripts": {
"build": "tsc",
"changelog": "auto-changelog -u --release-summary",
"coverage": "jest --coverage",
"example": "npm run build && node dist/cli.js -l --API_YML /examples/api.yml --API_PREFIX /api --STATIC_PATH /examples/static --MOCKS_PATH /examples/mocks",
"install:types": "typesync",
"prepare": "npm run build",
"version": "npm run build && npm run changelog && git add CHANGELOG.md",
"start": "npm run build && node dist/cli.js",
"tdd": "jest --watch",
"test": "jest"
},
"version": "5.0.1",
"volta": {
"node": "20.18.0"
},
"publishConfig": {
"access": "public"
}
}