@usethrottle/subscriptions 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@usethrottle/subscriptions",
3
+ "version": "1.0.0",
4
+ "description": "React hooks, server proxy helpers, and primitive components for Throttle subscriptions.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ },
15
+ "./server": {
16
+ "types": "./dist/server.d.ts",
17
+ "import": "./dist/server.js",
18
+ "require": "./dist/server.cjs"
19
+ }
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "README.md",
24
+ "CLAUDE.md"
25
+ ],
26
+ "peerDependencies": {
27
+ "react": ">=18"
28
+ },
29
+ "devDependencies": {
30
+ "@testing-library/react": "^16.1.0",
31
+ "@types/react": "^19.1.0",
32
+ "@vitejs/plugin-react": "^4.3.4",
33
+ "jsdom": "^25.0.1",
34
+ "react": "^19.1.0",
35
+ "react-dom": "^19.1.0",
36
+ "tsup": "^8.0.0",
37
+ "typescript": "^5.7.0",
38
+ "vitest": "^2.1.9"
39
+ },
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "engines": {
44
+ "node": ">=20"
45
+ },
46
+ "scripts": {
47
+ "build": "tsup",
48
+ "dev": "tsup --watch",
49
+ "test": "vitest run",
50
+ "test:watch": "vitest",
51
+ "typecheck": "tsc --noEmit"
52
+ }
53
+ }