-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 2.23 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
{
"name": "@hastearcade/snowglobe",
"author": "Eric McDaniel <[email protected]>",
"contributors": [
"Eric McDaniel <[email protected]>",
"Keith La Force <[email protected]>"
],
"license": "Apache-2.0",
"version": "0.4.15",
"description": "A TypeScript port of CrystalOrb, a high-level Rust game networking library",
"keywords": [
"netcode",
"networking",
"multiplayer",
"game",
"prediction",
"reconciliation",
"rollback"
],
"type": "module",
"types": "./lib/dist/esm/index.d.ts",
"main": "./lib/dist/cjs/index.js",
"exports": {
"import": "./lib/dist/esm/index.js",
"require": "./lib/dist/cjs/index.js"
},
"files": [
"lib/dist"
],
"scripts": {
"build": "./build.sh",
"build:cjs": "esbuild --bundle --target=node12.22 --outdir=lib/dist/cjs --format=cjs lib/dist/esm/index.js",
"example:standalone": "node --loader ts-node/esm --experimental-specifier-resolution=node examples/standalone.ts",
"example:standalonelag": "node --loader ts-node/esm --experimental-specifier-resolution=node examples/standalonelag.ts",
"example:demo": "cd ./examples/demo && vite --host",
"debug:example": "node --inspect-brk --loader ts-node/esm --experimental-specifier-resolution=node examples/standalone.ts",
"prepublishOnly": "npm run pretty && npm run lint && npm run build",
"test": "jest",
"lint": "eslint ./lib/**/*.ts ./test/**/*.ts ./examples/**/*.ts --fix",
"pretty": "prettier --write \"lib/src/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.ts\""
},
"devDependencies": {
"@dimforge/rapier2d-compat": "^0.11.2",
"@jest/console": "^29.5.0",
"@types/jest": "^29.5.2",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"esbuild": "^0.17.19",
"eslint": "^8.41.0",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"vite": "^4.3.9"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"csv-writer": "^1.6.0"
}
}