-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 4.14 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 4.14 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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "mcos",
"version": "1.0.0-alpha1",
"description": "a server",
"author": "Drazi Crendraven <drazisil@hey.com>",
"license": "AGPL-3.0",
"private": true,
"repository": {
"type": "git",
"url": "git@github.com:drazisil/mcos.git"
},
"scripts": {
"start": "npx tsx --import ./src/instrument.mjs --openssl-legacy-provider --env-file=.env src/nps_server.ts",
"build": "tsc",
"test": "vitest run --coverage=false",
"test:session": "vitest run --coverage=false --config vitest.session.config.ts",
"test:all": "npm test && npm run test:session",
"coverage": "vitest run",
"check": "tsc --build --noEmit > out.log",
"check:all": "npm run check --workspaces --if-present",
"lint:all": "npm run lint --workspaces --if-present",
"format:all": "npm run format --workspaces --if-present",
"test:packages": "npm run test --workspaces --if-present",
"clean": "rm -rf **/node_modules node_modules coverage dist",
"clean:sessions": "rm -rf test/fixtures/sessions/*.json test/fixtures/sessions/test",
"certs": "openssl req -x509 -extensions v3_req -config data/mcouniverse.cnf -newkey rsa:1024 -nodes -keyout ./data/private_key.pem -out ./data/mcouniverse.pem -days 365 && openssl rsa -in ./data/private_key.pem -outform DER -pubout | xxd -ps -c 300 | tr -d '\\n' > ./data/pub.key && cp ./data/mcouniverse.pem ./data/private_key.pem ./docker/sslProxy/",
"docker:up": "docker compose -f docker/docker-compose.yml up -d --build",
"docker:down": "docker compose -f docker/docker-compose.yml down",
"migrate": "dotenvx run -- npm run migrate --workspace=rusty-motors-database",
"setup": "npm install && npm run migrate",
"types:db": "npm run types:db --workspace=rusty-motors-database",
"types": "dotenvx run -- npm run types:db"
},
"files": [
"README.md",
"CHANGELOG.md",
"AUTHORS"
],
"type": "module",
"dependencies": {
"@databases/pg": "^5.5.0",
"@dotenvx/dotenvx": "^1.45.1",
"@fastify/sensible": "^6.0.3",
"@roarr/sentry": "^3.0.0",
"@rustymotors/binary": "",
"@rustymotors/network": "file:libs/@rustymotors/network",
"@rustymotors/parser": "file:libs/@rustymotors/parser",
"@rustymotors/rooms": "file:libs/@rustymotors/rooms",
"@sentry/node": "10.32.1",
"@sentry/profiling-node": "10.32.1",
"@types/better-sqlite3": "^7.6.13",
"bcrypt": "^6.0.0",
"better-sqlite3": "^12.5.0",
"concurrently": "^9.2.1",
"debug": "^4.4.1",
"dotenv": "^17.2.3",
"fastify": "^5.7.3",
"moment": "^2.30.1",
"pg": "^8.16.3",
"pino-debug": "^3.0.0",
"pklib-ts": "github:drazisil/pklib-ts",
"roarr": "^7.21.1",
"rusty-motors-shared": "^1.0.0-next.0",
"slonik": "^48.6.0",
"ts-node": "10.9.2"
},
"devDependencies": {
"@biomejs/biome": "2.0.5",
"@databases/pg-migrations": "^5.0.3",
"@databases/pg-test": "^3.1.2",
"@roarr/cli": "^5.12.4",
"@sentry/cli": "3.0.1",
"@tsconfig/node-lts": "^22.0.2",
"@tsconfig/node20": "^20.1.6",
"@types/bcrypt": "^5.0.2",
"@types/chai": "5.2.2",
"@types/node": "^22.15.33",
"@types/pg": "^8.15.5",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"tsx": "^4.20.3",
"typescript": "^5.8.3",
"vite": "^7.0.0",
"vitest": "^3.2.4"
},
"packageManager": "npm@11.6.0+sha512.77f3fb0dbbd881835d7bd1217deabdf7ed77fc4ec4f363df64fc3cb986404abf6c437661041080f5c5d225103508e7c9ea30cb2742b7e942675d05a10af2d7b9",
"workspaces": [
"libs/@rustymotors/binary",
"libs/@rustymotors/logging",
"packages/authentication",
"packages/cli",
"packages/database",
"packages/gateway",
"packages/lobby",
"packages/nps",
"packages/pklib-ts",
"packages/shard",
"packages/shared",
"packages/protocol",
"packages/transactions",
"src/chat"
]
}