-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.33 KB
/
package.json
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
{
"dependencies": {
"@cisco-developer/api-insights-openapi-rulesets": "^0.1.14-alpha",
"@types/cors": "^2.8.13",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"express": "^4.18.2",
"openapi-format": "^1.14.0",
"openapi-to-postmanv2": "^4.16.0",
"postman-update-oas": "^0.0.1",
"ts-node": "^10.9.1",
"tsoa": "^5.1.1",
"typescript": "^5.1.6",
"yarn": "^1.22.19"
},
"devDependencies": {
"@stoplight/spectral": "^6.5.0",
"@types/express": "^4.17.17",
"@types/node": "^20.4.9",
"prettier": "^3.0.1"
},
"license": "MIT",
"version": "1.0.0-rev1",
"scripts": {
"start": "ts-node ./src/index.ts",
"formatJS": "prettier --write .",
"openAPIFormat": "openapi-format --configFile .openapi_format ./spec/petStore.json --output ./spec/petStore.json --json",
"generate": "tsoa routes && tsoa spec && yarn formatJS && yarn openAPIFormat ",
"lint:spec": "spectral lint ./spec/petStore.json --display-only-failures",
"lint:full": "spectral lint ./spec/petStore.json",
"revalidate": "yarn generate && yarn lint:spec",
"updatePostman": "node ./node_modules/postman-update-oas/script.js './spec/petStore.json' '308093-457686bc-2c3a-4b4b-9262-6cc97e8da978'",
"generatePostman": "openapi2postmanv2 -s ./spec/petStore.json -o petStore-Postman-collection.json -p"
}
}