-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
69 lines (69 loc) · 1.58 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
{
"type": "module",
"name": "@hazae41/kcp",
"version": "1.1.3",
"author": "hazae41",
"license": "MIT",
"description": "Zero-copy KCP protocol for the web",
"homepage": "https://github.com/hazae41/kcp",
"repository": "github:hazae41/kcp",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"sideEffects": false,
"files": [
"./dist/esm",
"./dist/cjs",
"./dist/types"
],
"scripts": {
"build": "rimraf dist && rollup -c",
"test": "node ./dist/test/index.test.mjs",
"bench": "node ./dist/bench/index.bench.mjs",
"prepare": "npm run build"
},
"dependencies": {
"@hazae41/binary": "^1.3.5",
"@hazae41/bytes": "^1.2.11",
"@hazae41/cascade": "^2.2.2",
"@hazae41/cursor": "^1.2.4",
"@hazae41/future": "^1.0.3"
},
"devDependencies": {
"@hazae41/deimos": "^1.0.6",
"@hazae41/phobos": "^1.0.10",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^22.5.1",
"rimraf": "^6.0.1",
"rollup": "^4.21.2",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-node-externals": "^7.1.3",
"typescript": "^5.5.4"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs"
}
},
"keywords": [
"kcp",
"tcp",
"udp",
"smux",
"protocol",
"browser",
"buffer",
"stream",
"streaming",
"zero-copy",
"packets",
"binary",
"encoding",
"decoding",
"typescript",
"esmodules"
]
}