-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.38 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.38 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
{
"name": "optimistic-kit",
"version": "0.1.0",
"private": true,
"description": "Optimistic updates with automatic rollback on error and pluggable conflict resolution, for React Query and SWR.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./react-query": {
"types": "./dist/react-query.d.ts",
"import": "./dist/react-query.js"
},
"./swr": {
"types": "./dist/swr.d.ts",
"import": "./dist/swr.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"typecheck": "tsc --noEmit",
"test": "tsx --test test/*.test.ts"
},
"keywords": [
"optimistic-updates",
"rollback",
"react-query",
"swr",
"mutations",
"conflict-resolution",
"server-state",
"cache",
"tanstack-query",
"last-write-wins"
],
"homepage": "https://www.frontendcache.com",
"repository": {
"type": "git",
"url": "git+https://github.com/frontendcache/optimistic-kit.git"
},
"bugs": {
"url": "https://github.com/frontendcache/optimistic-kit/issues"
},
"license": "MIT",
"engines": {
"node": ">=20"
},
"devDependencies": {
"@types/node": "^22.10.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0"
}
}