-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 4.13 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
{
"name": "@arken/evolution-realm",
"version": "2.0.0",
"description": "Realm for Arken: Evolution Isles",
"scripts": {
"build": "NODE_ENV=production tsc && tsc-alias",
"dev-manual": "ARKEN_ENV=local LOG=1 LOG_PREFIX=[REALM] REALM_PORT=4010 REALM_SSL_PORT=4011 SHARD_PORT=4020 SHARD_SSL_PORT=4021 ts-node-dev --respawn -r dotenv/config -r tsconfig-paths/register ./src/index.ts",
"forever": "NODE_ENV=production yarn build && sudo nohup forever start forever-config.json &",
"inspect": "NODE_ENV=development yarn build && PORT=3001 NODE_ENV=production node --inspect build/index.js",
"kill": "sudo pkill -f node",
"superkill": "sudo kill -9 `ps -aux | grep /usr/bin/node | grep -v grep | awk '{ print $2 }'` && sudo kill -9 `ps -aux | grep RuneInfinite | grep -v grep | awk '{ print $2 }'`",
"manual": "sudo node --max_semi_space_size=30000 --max-old-space-size=30000 --initial-old-space-size=8000 --optimize-for-size --experimental-modules --experimental-json-modules build/index.js",
"nohup": "sudo nohup node --max_semi_space_size=30000 --max-old-space-size=30000 --initial-old-space-size=8000 --optimize-for-size --experimental-modules --experimental-json-modules build/index.js &",
"prod": "LOG=1 LOG_PREFIX=[REALM] REALM_PORT=4010 REALM_SSL_PORT=4011 SHARD_PORT=4020 SHARD_SSL_PORT=4021 ts-node-dev --respawn -r dotenv/config -r tsconfig-paths/register ./src/index.ts",
"dev": "pm2 delete evolution-realm --kill-timeout 500 || true && sleep 1 && pm2 flush evolution-realm || true && sleep 1 && pm2 start src/index.ts --name evolution-realm --no-daemon -f --node-args=\"--require ts-node/register\" --watch --interpreter ts-node --interpreter-args \"--project tsconfig.json\" --ignore-watch=\"node_modules saved narration old storage data db build .git *.db *.log *.json *.png *.mp4 *.db *.db.* *.lock\" > /dev/null 2>&1 & sleep 2 && pm2 logs evolution-realm",
"start": "ARKEN_ENV=local LOG=1 LOG_PREFIX=[REALM] REALM_PORT=4010 REALM_SSL_PORT=4011 SHARD_PORT=4020 SHARD_SSL_PORT=4021 NODE_ENV=production node -r tsconfig-paths/register --max_semi_space_size=30000 --max-old-space-size=30000 --initial-old-space-size=8000 --optimize-for-size --experimental-modules --experimental-json-modules build/src/index.js",
"test": "jest"
},
"dependencies": {
"body-parser": "^1",
"cors": "^2",
"dayjs": "^1",
"dotenv": "^16",
"express": "^4",
"express-rate-limit": "^5",
"helmet": "^7",
"morgan": "^1",
"socket.io": "^4",
"utf8": "^3",
"zod": "^3"
},
"peerDependencies": {
"@ethersproject/address": "^5",
"@ethersproject/contracts": "^5",
"@ethersproject/networks": "^5",
"@ethersproject/providers": "^5",
"@ethersproject/solidity": "^5"
},
"devDependencies": {
"@arken/evolution-protocol": "workspace:*",
"@arken/evolution-shard": "workspace:*",
"@arken/seer-protocol": "workspace:*",
"@arken/node": "workspace:*",
"@trpc/client": "11.0.0-rc.660",
"@trpc/server": "11.0.0-rc.660",
"@truffle/hdwallet-provider": "^1",
"@typechain/ethers-v4": "^1",
"@types/common-tags": "^1",
"@types/cors": "^2",
"@types/ethereum-protocol": "^1",
"@types/express": "^4",
"@types/express-rate-limit": "^3",
"@types/helmet": "^0",
"@types/jest": "^29",
"@types/morgan": "^1",
"@types/node": "^20",
"@types/web3": "^1",
"@typescript-eslint/eslint-plugin": "^8",
"@typescript-eslint/parser": "^8",
"axios": "^1",
"chalk": "^4",
"dd-trace": "^1",
"eslint": "^8",
"eslint-config-marine": "^3",
"eslint-config-prettier": "^8",
"eslint-plugin-prettier": "^3",
"eslint-plugin-react": "^7",
"eslint-plugin-react-hooks": "^4",
"ethereum-protocol": "^1",
"ethers": "^5",
"fast-safe-stringify": "^2",
"fs-jetpack": "^4",
"git": "^0",
"jest": "^29",
"js-md5": "^0",
"mongoose": "^8",
"moment": "^2",
"nodemon": "^2",
"semver": "^7",
"shortid": "^2",
"socket.io-client": "^4",
"supertest": "^7",
"ts-jest": "^29",
"ts-node": "^10",
"ts-node-dev": "^2",
"tsc-alias": "^1",
"tsconfig-paths": "^4",
"typescript": "^5",
"web3": "^1"
}
}