Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.16 KB
/
Copy pathpackage.json
File metadata and controls
109 lines (109 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
{
"author": "Andrew Zolotukhin <[email protected]>",
"bugs": {
"url": "https://github.com/cleverbrush/framework/issues",
"email": "[email protected]"
},
"dependencies": {
"@cleverbrush/schema": "^5.0.0",
"@cleverbrush/server": "^5.0.0"
},
"devDependencies": {
"@tanstack/react-query": "^5.75.0",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"peerDependencies": {
"@tanstack/react-query": "^5.0.0",
"react": ">=18.0.0"
},
"peerDependenciesMeta": {
"@tanstack/react-query": {
"optional": true
},
"react": {
"optional": true
}
},
"description": "Typed HTTP client with optional TanStack Query hooks — generated from @cleverbrush/server API contracts, zero codegen, full type safety",
"files": [
"dist"
],
"homepage": "https://docs.cleverbrush.com/client",
"keywords": [
"http-client",
"typed-client",
"api-client",
"react-query",
"tanstack-query",
"typescript",
"type-safe",
"proxy",
"hooks",
"cleverbrush"
],
"license": "BSD-3-Clause",
"main": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./retry": {
"types": "./dist/retry.d.ts",
"import": "./dist/retry.js"
},
"./timeout": {
"types": "./dist/timeout.d.ts",
"import": "./dist/timeout.js"
},
"./dedupe": {
"types": "./dist/dedupe.d.ts",
"import": "./dist/dedupe.js"
},
"./idempotency": {
"types": "./dist/idempotency.d.ts",
"import": "./dist/idempotency.js"
},
"./cache": {
"types": "./dist/cache.d.ts",
"import": "./dist/cache.js"
},
"./batching": {
"types": "./dist/batching.d.ts",
"import": "./dist/batching.js"
},
"./optimistic-update": {
"types": "./dist/optimisticUpdate.d.ts",
"import": "./dist/optimisticUpdate.js"
},
"./offline-queue": {
"types": "./dist/offlineQueue.d.ts",
"import": "./dist/offlineQueue.js"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js"
}
},
"sideEffects": false,
"name": "@cleverbrush/client",
"engines": {
"node": ">=24"
},
"readme": "https://github.com/cleverbrush/framework/tree/master/libs/client#readme",
"repository": {
"type": "git",
"url": "github:cleverbrush/framework"
},
"scripts": {
"watch": "tsc --build tsconfig.build.json --watch",
"build": "tsup && rm -f tsconfig.build.tsbuildinfo && tsc --project tsconfig.build.json --emitDeclarationOnly",
"clean": "rm -rf dist tsconfig.build.tsbuildinfo"
},
"type": "module",
"types": "./dist/index.d.ts",
"version": "5.0.0"
}