Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.01 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 3.01 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@7nohe/openapi-react-query-codegen",
"version": "4.0.0-beta.8",
"description": "Generate TanStack Query (React Query) hooks, queryOptions factories and a typed fetch/axios client from your OpenAPI spec",
"bin": {
"orqc": "dist/cli.mjs",
"openapi-rq": "dist/cli.mjs",
"openapi-react-query-codegen": "dist/cli.mjs"
},
"private": false,
"type": "module",
"workspaces": [
"examples/*"
],
"scripts": {
"build": "node scripts/clean.mjs dist && tsc -p tsconfig.json && node scripts/copy-runtime.mjs",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"preview:react": "npm run build && npm -C examples/react-app run generate:api",
"preview:nextjs": "npm run build && npm -C examples/nextjs-app run generate:api",
"preview:tanstack-router": "npm run build && npm -C examples/tanstack-router-app run generate:api",
"prepublishOnly": "npm run build",
"release": "npx git-ensure -a && npx bumpp --commit --tag --push",
"test": "vitest --coverage.enabled true",
"snapshot": "vitest --update"
},
"exports": [
{
"import": "./dist/generate.mjs",
"require": "./dist/generate.mjs",
"types": "./dist/generate.d.mts"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/7nohe/openapi-react-query-codegen.git"
},
"homepage": "https://orqc.7nohe.dev",
"bugs": "https://github.com/7nohe/openapi-react-query-codegen/issues",
"files": [
"dist",
"AGENTS.md"
],
"keywords": [
"openapi",
"openapi3",
"swagger",
"codegen",
"code-generator",
"tanstack-query",
"react-query",
"react",
"hooks",
"typescript",
"fetch",
"axios",
"orqc"
],
"license": "MIT",
"author": "Daiki Urata (@7nohe)",
"dependencies": {
"cross-spawn": "^7.0.3",
"yaml": "2.9.1"
},
"devDependencies": {
"@biomejs/biome": "^2.6.6",
"@types/cross-spawn": "^6.0.6",
"@types/node": "^22.20.5",
"@types/semver": "^7.7.1",
"@vitest/coverage-v8": "^5.1.0",
"axios": "1.20.0",
"commander": "^15.1.0",
"lefthook": "^2.1.10",
"msw": "^3.0.4",
"typescript": "^6.0.3",
"vite": "^8.3.6",
"vitest": "^5.1.0"
},
"peerDependencies": {
"@tanstack/react-query": "^5.0.0",
"commander": "12.x || 13.x || 14.x || 15.x"
},
"packageManager": "pnpm@9.6.0",
"engines": {
"node": ">=24.0.0",
"pnpm": ">=9"
},
"pnpm": {
"overrides": {
"@babel/core": "7.29.7",
"@babel/helpers": "7.26.10",
"ajv": "8.18.0",
"axios": "1.20.0",
"cross-spawn@7": "7.0.6",
"devalue": "5.9.4",
"follow-redirects": "1.16.2",
"form-data": "4.0.6",
"lodash": "4.18.0",
"mdast-util-to-hast": "13.2.1",
"morgan": "1.12.1",
"on-headers": "1.1.0",
"picomatch@2": "2.3.2",
"picomatch@4": "4.0.7",
"postcss": "8.5.23",
"prismjs": "1.30.0",
"qs": "6.16.1",
"rollup": "4.59.0",
"shell-quote": "1.11.0",
"tsx": "4.23.12",
"yaml@2": "2.9.1"
}
}
}