-
Notifications
You must be signed in to change notification settings - Fork 303
/
Copy pathpackage.json
93 lines (93 loc) · 3.08 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
91
92
93
{
"name": "opendota-core",
"description": "Open source Dota data platform",
"version": "26.0.0",
"license": "MIT",
"scripts": {
"start": "tsx index",
"test": "NODE_ENV=test mocha test/test.ts --exit --node-option import=tsx",
"build": "npm install && npm run tsc",
"tsc": "tsc --project tsconfig.json",
"typecheck": "tsc --project tsconfig.json --noEmit",
"lint": "eslint .",
"lintfix": "eslint . --fix",
"request": "curl -X POST localhost:5000/api/request/7490235544",
"fullhistory": "curl -X POST localhost:5000/api/players/88367253/refresh",
"gceconfig": "curl -H \"Metadata-Flavor: Google\" -L http://metadata.google.internal/computeMetadata/v1/project/attributes/env > /usr/src/.env",
"rediskeys": "redis-cli keys '*' | cut -d':' -f1 | sort | uniq -c",
"resetpicks": "redis-cli keys 'picks_*' | xargs redis-cli del",
"resetrecords": "redis-cli keys 'records*' | xargs redis-cli del",
"dockerbuild": "sudo docker build -t odota/core .",
"dockerbuild:retriever": "sudo docker build -t odota/retriever -f Dockerfile.retriever .",
"psql": "docker exec -it odota-postgres psql -U postgres -d yasp",
"prettier": "prettier --write .",
"updateproto": "tsx dev/updateProtos.mts"
},
"prettier": {
"singleQuote": true
},
"repository": {
"type": "git",
"url": "http://github.com/odota/core"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.726.0",
"@elastic/elasticsearch": "^7.17.14",
"ansi-colors": "^4.1.3",
"axios": "^1.7.9",
"body-parser": "^1.20.3",
"cassandra-driver": "^4.7.2",
"compression": "^1.7.5",
"cookie-session": "2.1.0",
"cors": "^2.8.5",
"dotaconstants": "^9.3.0",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"http-proxy": "^1.18.1",
"ioredis": "^5.4.2",
"json-bigint": "^1.0.0",
"knex": "^3.1.0",
"moment": "^2.30.1",
"passport": "^0.5.3",
"passport-steam": "^1.0.18",
"pg": "^8.13.1",
"pg-query-stream": "^4.7.1",
"pm2": "^5.4.3",
"protobufjs": "^7.2.5",
"steam-user": "^5.2.0",
"stripe": "^9.16.0",
"vdf-parser": "^1.2.1",
"ws": "^8.18.0"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.1",
"@types/async": "^3.2.24",
"@types/body-parser": "^1.19.5",
"@types/compression": "^1.7.5",
"@types/cookie-session": "^2.0.49",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/http-proxy": "^1.17.15",
"@types/json-bigint": "^1.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.5",
"@types/passport": "^1.0.17",
"@types/passport-steam": "^1.0.6",
"@types/pg": "^8.11.10",
"@types/qs": "^6.9.17",
"@types/request": "^2.48.12",
"@types/steam-user": "^5.0.4",
"@types/supertest": "^6.0.2",
"@types/ws": "^8.5.13",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"eslint": "^9.17.0",
"mocha": "^11.0.1",
"nock": "^13.5.6",
"prettier": "^3.4.2",
"supertest": "^7.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1"
}
}