-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.61 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 2.61 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
{
"name": "@reactor-team/queue",
"version": "0.0.5",
"description": "Drop-in waiting room for Reactor demos: a browser client (framework-agnostic + React) and a PartyKit server that gate access to a capacity-limited app and admit waiting users in order.",
"license": "Apache-2.0",
"homepage": "https://github.com/reactor-team/reactor-queue#readme",
"bugs": "https://github.com/reactor-team/reactor-queue/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/reactor-team/reactor-queue.git",
"directory": "packages/queue"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js",
"require": "./dist/react.cjs"
},
"./admin": {
"types": "./dist/admin-client.d.ts",
"import": "./dist/admin-client.js",
"require": "./dist/admin-client.cjs"
},
"./admin/react": {
"types": "./dist/admin-react.d.ts",
"import": "./dist/admin-react.js",
"require": "./dist/admin-react.cjs"
},
"./server": {
"types": "./dist/server/index.d.ts",
"import": "./dist/server/index.js",
"require": "./dist/server/index.cjs"
},
"./protocol": {
"types": "./dist/protocol.d.ts",
"import": "./dist/protocol.js",
"require": "./dist/protocol.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"NOTICE"
],
"scripts": {
"prepack": "cp ../../LICENSE ../../NOTICE .",
"postpack": "rm -f LICENSE NOTICE",
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"partysocket": "^1.1.19"
},
"peerDependencies": {
"partykit": "*",
"react": ">=18",
"zustand": ">=4"
},
"peerDependenciesMeta": {
"partykit": {
"optional": true
},
"react": {
"optional": true
},
"zustand": {
"optional": true
}
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.17",
"@vitest/coverage-v8": "^4.1.8",
"jsdom": "^29.1.1",
"partykit": "^0.0.115",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"tsup": "^8.3.5",
"typescript": "^6.0.3",
"vitest": "^4.1.8",
"zustand": "^5.0.2"
}
}