-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.1 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
{
"name": "use-next-sse",
"version": "0.2.2",
"description": "A lightweight Server-Sent Events (SSE) library for Next.js, enabling real-time, unidirectional data streaming from server to client",
"main": "dist/cjs/index.js",
"types": "dist/index.d.ts",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"scripts": {
"build": "tsc && npm run build:cjs",
"build:cjs": "tsc --module commonjs --outdir dist/cjs",
"watch": "tsc -w",
"test": "jest",
"prepublishOnly": "npm run build"
},
"keywords": [
"nextjs",
"sse",
"server-sent-events",
"react",
"streaming",
"real-time",
"send",
"events",
"server",
"client",
"unidirectional",
"data"
],
"author": "Alexander Kasten",
"license": "MIT",
"peerDependencies": {
"next": ">13.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"files": [
"dist"
],
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.0",
"@trivago/prettier-plugin-sort-imports": "^5.1.0",
"@types/jest": "^29.5.2",
"@types/node": "^14.0.0",
"@types/react": "^18.0.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3",
"prettier-plugin-svelte": "^3.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"readable-stream": "^4.6.0",
"ts-jest": "^29.1.0",
"typescript": "^4.5.0",
"undici": "^6.21.0",
"web-streams-polyfill": "^4.0.0"
},
"config": {
"sse": {
"reconnectInterval": 1000,
"maxReconnectAttempts": 5
}
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/alexanderkasten/use-next-sse.git"
},
"bugs": {
"url": "https://github.com/alexanderkasten/use-next-sse/issues"
},
"homepage": "https://github.com/alexanderkasten/use-next-sse#readme"
}