-
-
Notifications
You must be signed in to change notification settings - Fork 528
/
Copy pathpackage.json
83 lines (83 loc) · 2.27 KB
/
package.json
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
{
"name": "openapi-react-query",
"description": "Fast, type-safe @tanstack/react-query client to work with your OpenAPI schema.",
"version": "0.1.3",
"author": {
"name": "Martin Paucot",
"email": "[email protected]"
},
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./*": "./*"
},
"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": "pnpm run build:clean && pnpm run build:esm && pnpm run build:cjs",
"build:clean": "del-cli dist",
"build:esm": "tsc -p tsconfig.build.json",
"build:cjs": "esbuild --bundle --platform=node --target=es2019 --outfile=dist/index.cjs --external:typescript src/index.ts",
"dev": "tsc -p tsconfig.build.json --watch",
"format": "biome format . --write",
"lint": "biome check .",
"generate-types": "openapi-typescript test/fixtures/api.yaml -o test/fixtures/api.d.ts",
"pretest": "pnpm run generate-types",
"test": "pnpm run \"/^test:/\"",
"test:js": "vitest run",
"test:ts": "tsc --noEmit",
"version": "pnpm run prepare && pnpm run build"
},
"dependencies": {
"openapi-typescript-helpers": "workspace:^"
},
"devDependencies": {
"@testing-library/react": "^16.0.0",
"@types/react": "18.3.1",
"@vitejs/plugin-react": "^4.3.1",
"del-cli": "^5.1.0",
"esbuild": "^0.20.2",
"execa": "^8.0.1",
"msw": "^2.3.1",
"openapi-typescript": "workspace:^",
"react": "^18.3.1",
"react-error-boundary": "^4.0.13"
},
"peerDependencies": {
"@tanstack/react-query": "^5.0.0",
"openapi-fetch": "workspace:^"
}
}