-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
45 lines (45 loc) · 1.29 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
36
37
38
39
40
41
42
43
44
45
{
"name": "openapi-ts-client-gen",
"version": "1.3.1",
"keywords": [
"openapi",
"swagger",
"typescript",
"client",
"sdk",
"generator",
"generation"
],
"description": "An OpenAPI (Swagger) TypeScript client generator",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": "https://github.com/lukeautry/openapi-ts-client-gen",
"author": "Luke Autry <[email protected]>",
"license": "MIT",
"scripts": {
"build": "yarn tsc",
"generate": "yarn rimraf ./artifacts/api.ts && yarn tsc && node ./dist/cli.js -f ./artifacts/swagger.json -s 2 -n TestClient -o ./artifacts/api.ts",
"generate:v3": "yarn rimraf ./artifacts/api-v3.ts && yarn tsc && node ./dist/cli.js -f ./artifacts/swagger-v3.json -s 3 -n TestClient -o ./artifacts/api-v3.ts",
"prepublish": "yarn build"
},
"dependencies": {
"handlebars": "^4.7.6",
"superagent": "^6.1.0",
"yargs": "^16.0.3"
},
"devDependencies": {
"@types/handlebars": "^4.1.0",
"@types/node": "^14.11.2",
"@types/superagent": "^4.1.10",
"@types/yargs": "^15.0.7",
"rimraf": "^3.0.2",
"typescript": "^4.0.3"
},
"peerDependencies": {
"@types/superagent": "^3.8.4",
"superagent": "^4.0.0"
},
"bin": {
"openapi-ts-client-gen": "./dist/cli.js"
}
}