-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.38 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.38 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
{
"name": "covquestionsapi",
"version": "1.0.0",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.7",
"@openapitools/openapi-generator-cli": "^1.0.12-4.3.0",
"@redocly/openapi-cli": "^0.12.16",
"@types/node": "^13.13.45",
"copyfiles": "^2.4.1",
"json-schema-to-typescript": "^8.2.0",
"prettier": "^2.2.1",
"quicktype": "^15.0.260",
"quicktype-core": "^6.0.70",
"redoc-cli": "^0.9.13",
"rimraf": "^3.0.2",
"ts-node": "^8.10.2",
"typescript": "^3.9.9"
},
"private": true,
"scripts": {
"format": "prettier --write **/*.{ts,tsx,json}",
"lint": "prettier --check **/*.{ts,tsx,json}",
"start": "openapi preview-docs",
"build": "openapi bundle -o dist/openapi.json --ext json && openapi bundle -o dist/openapi.yaml --ext yaml",
"docs": "npm run build && redoc-cli bundle ./dist/openapi.yaml",
"test": "openapi validate",
"test-generator": "openapi-generator generate -i dist/openapi.yaml -g typescript-angular -o generated-sources/openapi",
"update-files": "npm run build && npm run generateTypes && ts-node ./scripts/updateFilesFromSchema.ts && npm run copy-openapi && npm run format",
"generateTypes": "ts-node scripts/generateTypes.ts && ts-node scripts/copyGeneratedTypes.ts",
"copy-openapi": "copyfiles -f ./dist/openapi.json ./api/v1/"
},
"devDependencies": {
"lerna": "^4.0.0"
}
}