-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.16 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.16 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
114
115
116
117
118
119
120
121
{
"name": "@povio/openapi-codegen-cli",
"version": "2.0.8-rc.5",
"keywords": [
"codegen",
"openapi",
"povio",
"react-query",
"zod"
],
"homepage": "https://github.com/povio/openapi-codegen-cli",
"bugs": "https://github.com/povio/openapi-codegen-cli/issues",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/povio/openapi-codegen-cli.git"
},
"bin": {
"openapi-codegen": "./dist/sh.js"
},
"files": [
"README.md",
"dist/*",
"src/assets/**",
"src/generators/templates/**"
],
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.mjs"
},
"./generator": {
"types": "./dist/generator.d.ts",
"import": "./dist/generator.js",
"require": "./dist/generator.js"
},
"./acl": {
"types": "./dist/acl.d.ts",
"import": "./dist/acl.mjs",
"require": "./dist/acl.mjs"
}
},
"scripts": {
"start": "node --import tsx ./src/sh.ts",
"test": "vitest run",
"test:watch": "vitest",
"build:clean": "rm -rf ./dist",
"build:client": "vite build",
"build:cli": "node ./esbuild.mjs && chmod +x ./dist/sh.js",
"build": "yarn build:clean && yarn build:cli && yarn build:client",
"start:dist": "node ./dist/sh.js",
"typecheck": "tsc --noEmit",
"lint": "oxlint --type-aware --fix",
"lint:check": "oxlint --type-aware",
"format": "oxfmt",
"format:check": "oxfmt --check",
"check": "yarn typecheck && yarn lint && yarn test",
"push": "yarn exec ./scripts/publish.sh",
"dev:generate": "rm -rf ./output && yarn start generate --config ./test/config.ts",
"dev:check": "yarn start check --config ./test/config.ts"
},
"dependencies": {
"i18next": "^25.8.11",
"import-fresh": "^3.3.1"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@casl/ability": "^6.8.0",
"@casl/react": "^5.0.1",
"@tanstack/react-query": "~5.90.21",
"@types/node": "^25.3.0",
"@types/prompt-sync": "^4.2.3",
"@types/react": "^19.2.14",
"@types/yargs": "^17.0.35",
"@vitejs/plugin-react": "^5.1.4",
"axios": "^1.13.5",
"esbuild": "0.27.3",
"handlebars": "^4.7.8",
"openapi-types": "^12.1.3",
"oxfmt": "^0.34.0",
"oxlint": "^1.49.0",
"oxlint-tsgolint": "^0.14.1",
"prompt-sync": "^4.2.0",
"react": "^19.2.4",
"reflect-metadata": "^0.2.2",
"ts-pattern": "^5.9.0",
"tsx": "^4.21.0",
"type-fest": "^5.4.4",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vite-plugin-dts": "^4.5.4",
"vitest": "4.0.18",
"yargs": "^18.0.0",
"zod": "^4.3.6"
},
"peerDependencies": {
"@casl/ability": "^6.7.3",
"@casl/react": "^5.0.0",
"@tanstack/react-query": "^5.90.21",
"axios": "^1.13.1",
"react": "^19.1.0",
"zod": "^4.1.12"
},
"peerDependenciesMeta": {
"@casl/ability": {
"optional": true
},
"@casl/react": {
"optional": true
}
},
"engines": {
"node": ">= 14",
"npm": ">= 8",
"yarn": ">= 3.2"
},
"packageManager": "yarn@4.2.2"
}