-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 4 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 4 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
122
123
124
125
126
127
{
"name": "@openapi-qraft/react",
"version": "2.7.2",
"description": "OpenAPI client for React, providing type-safe requests and dynamic TanStack Query React Hooks via a modular, Proxy-based architecture.",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.mjs && tsc --project tsconfig.build.json --emitDeclarationOnly",
"dev": "rimraf dist/ && tsc --project tsconfig.build.json --watch --outDir ./dist/esm --noEmitOnError false",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint",
"clean": "rimraf dist/",
"codegen": "openapi-qraft --redocly && yarn _prettify-api",
"_prettify-api": "prettier --write 'src/tests/fixtures/{api,queryable-write-operations-api,files-api}/**/*.ts'"
},
"sideEffects": false,
"dependencies": {
"@openapi-qraft/tanstack-query-react-types": "workspace:*"
},
"peerDependencies": {
"@tanstack/react-query": "^5.80.0",
"react": "^18 || ^19"
},
"devDependencies": {
"@openapi-qraft/cli": "workspace:*",
"@openapi-qraft/eslint-config": "workspace:*",
"@openapi-qraft/openapi-typescript-plugin": "workspace:^",
"@openapi-qraft/rollup-config": "workspace:*",
"@openapi-qraft/tanstack-query-react-plugin": "workspace:*",
"@openapi-qraft/test-fixtures": "workspace:*",
"@tanstack/react-query": "^5.80.6",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.2.0",
"@types/jscodeshift": "^0.11.11",
"@types/react": "^19.0.9",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.5",
"eslint": "^9.24.0",
"eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250328",
"global-jsdom": "^26.0.0",
"jscodeshift": "^17.0.0",
"jsdom": "^26.0.0",
"msw": "^2.7.0",
"prettier": "^3.3.3",
"query-string": "^8.2.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^5.0.10",
"rollup": "~4.22.4",
"typescript": "^5.6.2",
"vitest": "^3.0.5"
},
"files": [
"dist",
"src",
"!dist/tests/**",
"!src/tests/**"
],
"type": "module",
"module": "dist/esm/index.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"./callbacks": {
"types": "./dist/types/callbacks/index.d.ts",
"import": "./dist/esm/callbacks/index.js",
"require": "./dist/cjs/callbacks/index.cjs"
},
"./callbacks/*": {
"types": "./dist/types/callbacks/*.d.ts",
"import": "./dist/esm/callbacks/*.js",
"require": "./dist/cjs/callbacks/*.cjs"
},
"./Unstable_QraftSecureRequestFn": {
"types": "./dist/types/Unstable_QraftSecureRequestFn.d.ts",
"import": "./dist/esm/Unstable_QraftSecureRequestFn.js",
"require": "./dist/cjs/Unstable_QraftSecureRequestFn.cjs"
},
"./qraftPredefinedParametersRequestFn": {
"types": "./dist/types/qraftPredefinedParametersRequestFn.d.ts",
"import": "./dist/esm/qraftPredefinedParametersRequestFn.js",
"require": "./dist/cjs/qraftPredefinedParametersRequestFn.cjs"
},
"./unstable__responseUtils": {
"types": "./dist/types/unstable__responseUtils.d.ts",
"import": "./dist/esm/unstable__responseUtils.js",
"require": "./dist/cjs/unstable__responseUtils.cjs"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"*": [
"dist/types/*"
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/OpenAPI-Qraft/openapi-qraft.git",
"directory": "packages/react-client"
},
"bugs": {
"url": "https://github.com/OpenAPI-Qraft/openapi-qraft/issues"
},
"homepage": "https://openapi-qraft.github.io/openapi-qraft/",
"keywords": [
"openapi",
"swagger",
"rest",
"api",
"oapi_3",
"oapi_3_1",
"typescript",
"fetch",
"react",
"hooks",
"react-query"
],
"publishConfig": {
"access": "public"
}
}