-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
117 lines (117 loc) · 3.26 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
113
114
115
116
117
{
"name": "zustand-signal",
"description": "Another React binding for Zustand",
"version": "0.6.0",
"type": "module",
"author": "Daishi Kato",
"repository": {
"type": "git",
"url": "https://github.com/zustandjs/zustand-signal.git"
},
"source": "./src/index.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./jsx-runtime": {
"require": {
"types": "./dist/cjs/jsx-runtime.d.ts",
"default": "./dist/cjs/jsx-runtime.js"
},
"default": {
"types": "./dist/jsx-runtime.d.ts",
"default": "./dist/jsx-runtime.js"
}
},
"./jsx-dev-runtime": {
"require": {
"types": "./dist/cjs/jsx-dev-runtime.d.ts",
"default": "./dist/cjs/jsx-dev-runtime.js"
},
"default": {
"types": "./dist/jsx-dev-runtime.d.ts",
"default": "./dist/jsx-dev-runtime.js"
}
}
},
"sideEffects": false,
"files": [
"src",
"dist"
],
"packageManager": "[email protected]",
"scripts": {
"compile": "rm -rf dist && pnpm run '/^compile:.*/'",
"compile:esm": "tsc -p tsconfig.esm.json",
"compile:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"test": "pnpm run '/^test:.*/'",
"test:format": "prettier -c .",
"test:lint": "eslint .",
"test:types": "tsc -p . --noEmit",
"test:types:examples": "tsc -p examples --noEmit",
"test:spec": "vitest run",
"examples:01_counter": "DIR=01_counter vite",
"examples:02_props": "DIR=02_props vite",
"examples:03_async": "DIR=03_async vite",
"examples:04_todos": "DIR=04_todos vite",
"examples:05_setvalue": "DIR=05_setvalue vite",
"examples:06_r3f": "DIR=06_r3f vite",
"examples:07_signal": "DIR=07_signal vite"
},
"keywords": [
"zustand",
"react",
"signal"
],
"license": "MIT",
"prettier": {
"singleQuote": true
},
"dependencies": {
"create-react-signals": "^0.8.0"
},
"devDependencies": {
"@react-three/drei": "^9.105.4",
"@react-three/fiber": "^8.16.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.4",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.12.7",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@types/three": "^0.163.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.1",
"happy-dom": "^14.7.1",
"prettier": "^3.2.5",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"three": "^0.164.1",
"ts-expect": "^1.3.0",
"typescript": "^5.4.5",
"vite": "^5.2.10",
"vitest": "^1.5.2",
"zustand": "^4.5.2",
"zustand-signal": "link:."
},
"peerDependencies": {
"react": ">=18.0.0"
}
}