pushstream-client 0.1.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,57 @@
1
+ {
2
+ "name": "pushstream-client",
3
+ "version": "0.1.0",
4
+ "description": "Lightweight JavaScript client for PushStream SSE events with auto-reconnection and event-driven API",
5
+ "author": "Dishu Mavi",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/mavidishu/PushStream.git",
10
+ "directory": "src/client/pushstream-js"
11
+ },
12
+ "homepage": "https://github.com/mavidishu/PushStream#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/mavidishu/PushStream/issues"
15
+ },
16
+ "keywords": [
17
+ "sse",
18
+ "server-sent-events",
19
+ "eventsource",
20
+ "realtime",
21
+ "push",
22
+ "stream",
23
+ "real-time",
24
+ "events"
25
+ ],
26
+ "main": "dist/pushstream.cjs.js",
27
+ "module": "dist/pushstream.esm.js",
28
+ "browser": "dist/pushstream.min.js",
29
+ "unpkg": "dist/pushstream.min.js",
30
+ "jsdelivr": "dist/pushstream.min.js",
31
+ "exports": {
32
+ ".": {
33
+ "import": "./dist/pushstream.esm.js",
34
+ "require": "./dist/pushstream.cjs.js",
35
+ "browser": "./dist/pushstream.min.js"
36
+ }
37
+ },
38
+ "files": [
39
+ "dist",
40
+ "README.md",
41
+ "LICENSE"
42
+ ],
43
+ "sideEffects": false,
44
+ "type": "module",
45
+ "scripts": {
46
+ "build": "rollup -c",
47
+ "test": "node --test tests/*.test.js",
48
+ "prepublishOnly": "npm run build"
49
+ },
50
+ "devDependencies": {
51
+ "@rollup/plugin-terser": "^0.4.4",
52
+ "rollup": "^4.9.0"
53
+ },
54
+ "engines": {
55
+ "node": ">=18.0.0"
56
+ }
57
+ }