-
Notifications
You must be signed in to change notification settings - Fork 104
/
package.json
90 lines (90 loc) · 2.94 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
82
83
84
85
86
87
88
89
90
{
"name": "centrifuge",
"version": "5.2.2",
"description": "JavaScript client SDK for bidirectional communication with Centrifugo and Centrifuge-based server from browser, NodeJS and React Native",
"main": "build/index.js",
"types": "build/index.d.ts",
"module": "build/index.mjs",
"exports": {
".": {
"import": "./build/index.mjs",
"require": "./build/index.js",
"types": "./build/index.d.ts"
},
"./build/protobuf": {
"import": "./build/protobuf/index.mjs",
"require": "./build/protobuf/index.js",
"types": "./build/protobuf/index.d.ts"
}
},
"files": [
"dist/**",
"build/**"
],
"browser": {
"events": "events"
},
"scripts": {
"build": "rollup -c && ./fixup.sh",
"prepare": "npm run build-all",
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
"test": "jest --detectOpenHandles --verbose",
"clean": "rm -rf dist build package",
"ts-node": "ts-node",
"docs": "typedoc --exclude '**/transport_*.ts' --exclude '**/*.test.ts' --exclude '**/*+(utils|json|protobuf.codec|codes|browser).ts' --excludePrivate --excludeInternal --entryPoints src/*.ts",
"build-all": "yarn clean && yarn build && yarn build-browser && yarn build-browser-protobuf",
"build-browser": "esbuild src/browser.ts --bundle --minify --sourcemap --outfile=dist/centrifuge.js",
"dev": "esbuild src/browser.ts --bundle --outfile=dist/centrifuge.js --servedir=dist/ --serve=2000",
"build-browser-protobuf": "esbuild src/browser.protobuf.ts --bundle --minify --sourcemap --outfile=dist/centrifuge.protobuf.js",
"dev-protobuf": "esbuild src/browser.protobuf.ts --bundle --outfile=dist/centrifuge.protobuf.js --servedir=dist/ --serve=2000",
"proto": "./make-proto"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@types/jest": "^29.5.4",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"esbuild": "0.19.2",
"eslint": "^8.49.0",
"eventsource": "^2.0.2",
"jest": "^29.7.0",
"protobufjs-cli": "^1.1.2",
"rollup": "^3.29.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-typescript2": "^0.35.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typedoc": "^0.25.1",
"typescript": "^5.2.2",
"undici": "^5.24.0",
"ws": "^8.14.1"
},
"repository": {
"type": "git",
"url": "https://github.com/centrifugal/centrifuge-js.git"
},
"keywords": [
"websocket",
"webtransport",
"eventsource",
"streaming",
"sockjs",
"centrifugo",
"centrifuge",
"pub/sub",
"real-time"
],
"author": "Alexander Emelin",
"license": "MIT",
"bugs": {
"url": "https://github.com/centrifugal/centrifuge-js/issues"
},
"homepage": "https://github.com/centrifugal/centrifuge-js",
"dependencies": {
"events": "^3.3.0",
"protobufjs": "^7.2.5"
}
}