-
-
Notifications
You must be signed in to change notification settings - Fork 639
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.02 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.02 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
{
"name": "openapi-react-query",
"description": "Fast, type-safe @tanstack/react-query client to work with your OpenAPI schema.",
"version": "0.5.4",
"author": {
"name": "Martin Paucot",
"email": "contact@martin-paucot.fr"
},
"license": "MIT",
"type": "module",
"main": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
},
"./*": "./*"
},
"homepage": "https://openapi-ts.dev",
"repository": {
"type": "git",
"url": "https://github.com/openapi-ts/openapi-typescript",
"directory": "packages/openapi-react-query"
},
"bugs": {
"url": "https://github.com/openapi-ts/openapi-typescript/issues"
},
"keywords": [
"openapi",
"swagger",
"rest",
"api",
"oapi_3",
"oapi_3_1",
"typescript",
"fetch",
"react",
"react-query",
"tanstack"
],
"scripts": {
"build": "unbuild",
"dev": "tsc -p tsconfig.build.json --watch",
"format": "biome format . --write",
"lint": "pnpm run lint:js && pnpm run lint:ts",
"lint:js": "biome check .",
"lint:ts": "tsc --noEmit",
"generate-types": "openapi-typescript test/fixtures/api.yaml -o test/fixtures/api.d.ts",
"prepack": "pnpm run build",
"test": "pnpm run generate-types && pnpm run test:js && pnpm run test:exports",
"test:js": "vitest run",
"test:exports": "pnpm run build && attw --pack .",
"version": "pnpm run prepare && pnpm run build"
},
"dependencies": {
"openapi-typescript-helpers": "workspace:^"
},
"devDependencies": {
"@tanstack/react-query": "5.99.0",
"@testing-library/react": "16.3.2",
"@types/react": "18.3.21",
"@vitejs/plugin-react": "5.2.0",
"execa": "catalog:",
"msw": "2.13.3",
"openapi-fetch": "workspace:^",
"openapi-typescript": "workspace:^",
"react": "18.3.1",
"react-error-boundary": "6.0.0"
},
"peerDependencies": {
"@tanstack/react-query": "^5.80.0",
"openapi-fetch": "workspace:^"
}
}