-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.14 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.14 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
{
"name": "react-realtime-hooks",
"version": "1.2.1",
"description": "React hooks for WebSocket, EventSource, reconnect, heartbeat, and online status.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/volkov85/react-realtime-hooks.git"
},
"homepage": "https://github.com/volkov85/react-realtime-hooks#readme",
"bugs": {
"url": "https://github.com/volkov85/react-realtime-hooks/issues"
},
"type": "module",
"sideEffects": false,
"files": [
"dist"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"react",
"hooks",
"websocket",
"eventsource",
"sse",
"reconnect",
"heartbeat",
"network"
],
"scripts": {
"build": "tsup",
"demo": "vite --config demo/vite.config.ts",
"demo:build": "vite build --config demo/vite.config.ts",
"dev": "tsup --watch",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"publint": "publint",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "changeset publish",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build && npm run publint"
},
"peerDependencies": {
"react": "^19.0.0"
},
"devDependencies": {
"@changesets/cli": "2.30.0",
"@eslint/js": "10.0.1",
"@testing-library/react": "16.3.2",
"@types/node": "25.5.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "6.0.1",
"eslint": "10.0.3",
"globals": "17.4.0",
"jsdom": "29.0.0",
"publint": "0.3.18",
"react": "19.2.4",
"react-dom": "19.2.4",
"tsup": "8.5.1",
"typescript": "5.9.3",
"typescript-eslint": "8.57.0",
"vite": "8.0.0",
"vitest": "4.1.0"
}
}