-
-
Notifications
You must be signed in to change notification settings - Fork 362
/
package.json
83 lines (83 loc) · 2.23 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
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
{
"name": "swagger-typescript-api",
"version": "13.0.22",
"description": "Generate the API client for Fetch or Axios from an OpenAPI Specification",
"homepage": "https://github.com/acacode/swagger-typescript-api",
"bugs": "https://github.com/acacode/swagger-typescript-api/issues",
"repository": "github:acacode/swagger-typescript-api",
"license": "MIT",
"author": "Sergey Volkov <[email protected]>",
"contributors": [
"Sora Morimoto <[email protected]>"
],
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/types.d.ts",
"default": "./dist/lib.js"
},
"require": {
"types": "./dist/types.d.cts",
"default": "./dist/lib.cjs"
}
}
},
"main": "./dist/lib.cjs",
"module": "./dist/lib.js",
"types": "./dist/types.d.cts",
"bin": {
"sta": "./dist/cli.js",
"swagger-typescript-api": "./dist/cli.js"
},
"files": [
"dist",
"templates"
],
"scripts": {
"build": "tsup",
"cli:help": "node index.js -h",
"cli:json": "node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts",
"cli:yaml": "node index.js -r -d -p ./swagger-test-cli.yaml -n swagger-test-cli.ts",
"format": "biome format --write .",
"format:check": "biome format .",
"lint": "biome check",
"prepack": "tsup",
"test": "vitest run"
},
"dependencies": {
"@types/swagger-schema-official": "^2.0.25",
"citty": "^0.1.6",
"consola": "^3.2.3",
"cosmiconfig": "^9.0.0",
"eta": "^2.2.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"nanoid": "^3.3.7",
"prettier": "~3.3.3",
"swagger-schema-official": "2.0.0-bab6bed",
"swagger2openapi": "^7.0.8",
"typescript": "~5.7.2"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@tsconfig/node18": "18.2.4",
"@tsconfig/strictest": "2.0.5",
"@types/js-yaml": "4.0.9",
"@types/lodash": "4.17.13",
"@types/node": "22.9.1",
"@types/swagger2openapi": "7.0.4",
"axios": "1.7.7",
"openapi-types": "12.1.3",
"tsup": "8.3.5",
"vitest": "2.1.5"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}