-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
112 lines (112 loc) · 3.05 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
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
{
"name": "@preact-signals/query",
"version": "2.1.1",
"private": false,
"publishConfig": {
"access": "public"
},
"description": "A reactive utility for React/Preact that simplifies the handling of data fetching and state management. Powered by Preact Signals, it provides hooks and functions to create reactive resources and manage their state seamlessly.",
"sideEffects": false,
"repository": {
"directory": "packages/query",
"url": "https://github.com/XantreDev/preact-signals",
"type": "git"
},
"homepage": "https://github.com/XantreDev/preact-signals/blob/main/packages/query/README.md",
"author": {
"email": "[email protected]",
"name": "Valerii Smirnov",
"url": "https://github.com/XantreDev"
},
"type": "module",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts",
"source": "./src/index.ts",
"react-native": "./src/index.ts",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"react-native": "./src/index.ts"
}
},
"scripts": {
"clean": "rimraf dist",
"build:esm": "tsc --outDir ./dist/esm",
"build:cjs": "tsc --module commonjs --outDir ./dist/cjs",
"lint": "tsc --noEmit",
"test": "vitest",
"watch": "concurrently \"pnpm build:esm -w\" \"pnpm build:cjs -w\"",
"build": "pnpm clean && concurrently \"pnpm build:esm\" \"pnpm build:cjs\""
},
"peerDependencies": {
"@preact/signals": ">=1.2.0",
"@preact/signals-core": ">=1.5.0",
"@preact/signals-react": ">=2.0.0",
"@preact-signals/safe-react": "workspace:*",
"react": "17.*.* || 18.*.* || 19.x",
"react-dom": "^18.2.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"@preact/signals-react": {
"optional": true
},
"@preact/signals": {
"optional": true
},
"@preact/signals-core": {
"optional": true
},
"@preact-signals/safe-react": {
"optional": true
}
},
"devDependencies": {
"@preact/signals-react": ">=1.2.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^13.4.0",
"@types/jsdom": "^21.1.5",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/use-sync-external-store": "^0.0.3",
"concurrently": "^8.2.2",
"jsdom": "^24.0.0",
"react": "18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.13",
"webdriverio": "^8.22.1"
},
"dependencies": {
"@preact-signals/unified-signals": "workspace:*",
"@preact-signals/utils": "workspace:*",
"@tanstack/query-core": "4.29.23",
"type-fest": "^3.13.1",
"use-sync-external-store": "^1.2.0"
},
"keywords": [
"preact",
"react",
"solid",
"reactive",
"data fetching",
"state management",
"preact signals",
"reactivity",
"resources",
"reactive programming",
"hooks",
"async",
"fetch",
"api",
"frontend"
],
"license": "MIT"
}