-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.33 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.33 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
{
"name": "netcode",
"version": "3.0.0",
"description": "NetCode for web video games",
"author": "Thomas Jarrand <thomas.jarrand@gmail.com> (https://thomas.jarrand.fr)",
"license": "MIT",
"homepage": "https://github.com/Tom32i/netcode",
"keywords": [
"netcode",
"websocket",
"realtime",
"game",
"videogame",
"multiplayer"
],
"scripts": {
"start": "vite",
"watch": "vite build --watch",
"build": "vite build",
"test": "vitest --run",
"lint": "eslint src/* --ext .js,.json --fix"
},
"engines": {
"node": ">=24.0.0"
},
"files": [
"src",
"dist"
],
"type": "module",
"main": "./dist/client/netcode.umd.cjs",
"module": "./dist/client/netcode.js",
"exports": {
".": {
"import": "./dist/client/netcode.js",
"require": "./dist/client/netcode.umd.cjs"
},
"./server": {
"import": "./src/server/index.js"
},
"./client": {
"import": "./src/client/index.js"
},
"./encoder": {
"import": "./src/encoder/index.js"
}
},
"dependencies": {
"tom32i-event-emitter.js": "^2.2.0",
"ws": "^8.19.0"
},
"devDependencies": {
"eslint": "^9.14.0",
"globals": "^15.11.0",
"vite": "^7.1.3",
"vitest": "^4.1.0"
},
"optionalDependencies": {
"bufferutil": "^4.1.0",
"utf-8-validate": "^6.0.6"
}
}