-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.18 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.18 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
{
"name": "swaggie",
"version": "2.5.0",
"description": "Generate a fully typed TypeScript API client from your OpenAPI 3 spec",
"author": {
"name": "Piotr Dabrowski",
"url": "https://github.com/yhnavein"
},
"license": "MIT",
"homepage": "https://yhnavein.github.io/swaggie/",
"repository": {
"type": "git",
"url": "git+https://github.com/yhnavein/swaggie.git"
},
"bugs": {
"url": "https://github.com/yhnavein/swaggie/issues"
},
"engines": {
"node": ">=18.18"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./browser": {
"types": "./dist/index.d.ts",
"default": "./dist/browser.js"
},
"./dist/*": "./dist/*",
"./templates/*": "./templates/*",
"./package.json": "./package.json"
},
"bin": {
"swaggie": "dist/cli.js"
},
"scripts": {
"build": "bun run bundle-templates && sucrase ./src -d ./dist --transforms typescript,imports && bun run rm-tests && bun run types",
"bundle-templates": "bun scripts/bundle-templates.ts",
"rm-tests": "find dist/ \\( -name '*.spec.js' -o -name 'types.js' \\) -type f -delete",
"type-check": "tsc --project tsconfig.json",
"types": "tsc --project tsconfig.types.json && cp test/index.d.ts ./dist/",
"docs:build": "cp schema.json docs/public/schema.json && vitepress build docs",
"docs:dev": "vitepress dev docs",
"docs:preview": "vitepress preview docs"
},
"files": [
"dist",
"templates"
],
"keywords": [
"swagger",
"openapi",
"oapi",
"openapi 3.0",
"openapi 3.1",
"openapi 3.2",
"rest",
"rest client",
"fetch",
"axios",
"angular",
"xior",
"swr",
"service",
"typescript",
"codegen",
"TanStack Query",
"mocks"
],
"dependencies": {
"case": "^1.6.3",
"commander": "^14.0.3",
"eta": "^4.6.0",
"yaml": "^2.9.0",
"picocolors": "^1.1.1"
},
"devDependencies": {
"bun-types": "1.3.14",
"openapi-types": "^12.1.3",
"sucrase": "3.35.1",
"typescript": "7.0.2",
"vitepress": "^2.0.0-alpha.19",
"vitepress-plugin-tabs": "0.9.1"
}
}