-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathpackage.json
115 lines (115 loc) · 8.54 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "eternum",
"version": "0.1.0",
"type": "module",
"scripts": {
"build": "pnpm --dir ./client/apps/game build",
"build:docs": "cd client/apps/game-docs && vocs build -o ../dist",
"build:landing": "pnpm --dir ./client/apps/landing build",
"build:packages": "pnpm --dir ./packages/core build && pnpm --dir ./packages/react build",
"clean": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + && find . -name 'pnpm-lock.yaml' -type f -delete",
"dev": "pnpm --dir ./client/apps/game dev",
"dev:docs": "cd ./client/apps/game-docs && vocs dev",
"dev:landing": "pnpm --dir ./client/apps/landing dev",
"_comment_local_network_": "_______________________________________________",
"_comment_local_network1": "These are all you commands you need to run (in this order)",
"_comment_local_network2": "to start the game contracts on the your network. This has been simplified to:",
"_comment_local_network3": "`pnpm run contract:start:local` so you do not have to run all the commands manually",
"_comment_local_network4": " ",
"_comment_local_network5": "Commands will be executed using `.env.local` in contracts/common/",
"_comment_local_network6": "and will also use `.env.local` in client/apps/game for setting game config",
"_comment_local_network__": "_______________________________________________",
"katana:start:local": "cd ./contracts/game && ./ext/scripts/katana.sh",
"game:migrate:local": "cd ./contracts/game && ./ext/scripts/migrate.sh",
"seasonpass:deploy:local": "cd ./contracts/season_pass/ext/scripts && ./deploy.sh",
"seasonresources:deploy:local": "cd ./contracts/season_resources/ext/scripts && ./deploy.sh",
"toml:update:local": "cd ./contracts/game && ./ext/scripts/update-toml.sh torii-local.toml ../common/addresses/local.json",
"indexer:start:local": "pnpm run toml:update:local && cd ./contracts/game && ./ext/scripts/indexer.sh --network local --rpc http://127.0.0.1:8080",
"config:deploy:local": "pnpm run build:packages && pnpm --dir ./config run local",
"indexer:stop:local": "cd ./contracts/game && ./ext/scripts/indexer.sh --kill --network local",
"katana:stop:local": "cd ./contracts/game && ./ext/scripts/katana.sh --kill",
"contract:start:local": "pnpm run katana:start:local && pnpm run game:migrate:local && pnpm run seasonpass:deploy:local && pnpm run seasonresources:deploy:local && pnpm run indexer:start:local && pnpm run config:deploy:local",
"contract:stop:local": "pnpm run katana:stop:local && pnpm run indexer:stop:local",
"_comment_slot_network_": "_______________________________________________",
"_comment_slot_network1": "These are all you commands you need to run (in this order)",
"_comment_slot_network2": "Commands will be executed using `.env.slot` in contracts/common/",
"_comment_slot_network3": "and will also use `.env.slot` in client/apps/game for setting game config",
"_comment_slot_network__": "_______________________________________________",
"katana:start:slot": "bash contracts/game/ext/scripts/slot.sh katana",
"game:migrate:slot": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile slot",
"seasonpass:deploy:slot": "cd ./contracts/season_pass/ext/scripts && ./deploy.sh slot",
"seasonresources:deploy:slot": "cd ./contracts/season_resources/ext/scripts && ./deploy.sh slot",
"toml:update:slot": "cd ./contracts/game && ./ext/scripts/update-toml.sh torii-slot.toml ../common/addresses/slot.json",
"indexer:start:slot": "pnpm run toml:update:slot && bash contracts/game/ext/scripts/slot.sh torii --network slot --world 0x0009dd5e66cfa83f893c2a70b9ea5221e2df18aaf52a111fe9003264f948c7aa --toml ./contracts/game",
"config:deploy:slot": "pnpm run build:packages && pnpm --dir ./config run slot",
"_comment_sepolia_network_": "_______________________________________________",
"_comment_sepolia_network1": "These are all you commands you need to run (in this order)",
"_comment_sepolia_network2": "Commands will be executed using `.env.sepolia` in contracts/common/",
"_comment_sepolia_network3": "and will also use `.env.sepolia` in client/apps/game for setting game config",
"_comment_sepolia_network__": "_______________________________________________",
"game:migrate:sepolia": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile sepolia",
"seasonpass:deploy:sepolia": "cd ./contracts/season_pass/ext/scripts && ./deploy.sh sepolia",
"seasonresources:deploy:sepolia": "cd ./contracts/season_resources/ext/scripts && ./deploy.sh sepolia",
"toml:update:sepolia": "cd ./contracts/game && ./ext/scripts/update-toml.sh torii-sepolia.toml ../common/addresses/sepolia.json",
"indexer:start:sepolia": "pnpm run toml:update:sepolia && bash contracts/game/ext/scripts/slot.sh torii --network sepolia --world 0x0009dd5e66cfa83f893c2a70b9ea5221e2df18aaf52a111fe9003264f948c7aa --toml ./contracts/game",
"config:deploy:sepolia": "pnpm run build:packages && pnpm --dir ./config run sepolia",
"_comment_mainnet_network_": "_______________________________________________",
"_comment_mainnet_network1": "These are all you commands you need to run (in this order)",
"_comment_mainnet_network2": "Commands will be executed using `.env.mainnet` in contracts/common/",
"_comment_mainnet_network3": "and will also use `.env.mainnet` in client/apps/game for setting game config",
"_comment_mainnet_network__": "_______________________________________________",
"game:migrate:mainnet": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile mainnet",
"seasonpass:deploy:mainnet": "cd ./contracts/season_pass/ext/scripts && ./deploy.sh mainnet",
"seasonresources:deploy:mainnet": "cd ./contracts/season_resources/ext/scripts && ./deploy.sh mainnet",
"toml:update:mainnet": "cd ./contracts/game && ./ext/scripts/update-toml.sh torii-mainnet.toml ../common/addresses/mainnet.json",
"indexer:start:mainnet": "pnpm run toml:update:mainnet && bash contracts/game/ext/scripts/slot.sh torii --network mainnet --world 0x0009dd5e66cfa83f893c2a70b9ea5221e2df18aaf52a111fe9003264f948c7aa --toml ./contracts/game",
"config:deploy:mainnet": "pnpm run build:packages && pnpm --dir ./config run mainnet",
"_comment_seasonresources_revoke_": "_______________________________________________",
"_comment_seasonresources_revoke1": "Revoke the minter role of the in-game bridge system from all season resource contracts",
"_comment_seasonresources_revoke2": "Commands will be executed using `.env.{network}` in contracts/common/",
"_comment_seasonresources_revoke__": "_______________________________________________",
"seasonresources:revoke:local": "cd ./contracts/season_resources/ext/scripts/deployment && bun run revoke:local",
"seasonresources:revoke:slot": "cd ./contracts/season_resources/ext/scripts/deployment && bun run revoke:slot",
"seasonresources:revoke:sepolia": "cd ./contracts/season_resources/ext/scripts/deployment && bun run revoke:sepolia",
"seasonresources:revoke:mainnet": "cd ./contracts/season_resources/ext/scripts/deployment && bun run revoke:mainnet",
"format": "pnpm prettier --write .",
"format:check": "pnpm prettier --check .",
"knip": "npx knip --exclude binaries,dependencies",
"lint": "pnpm --recursive run lint",
"lint:fix": "pnpm --recursive run lint:fix",
"test": "pnpm --recursive run test"
},
"dependencies": {
"colors": "^1.4.0",
"dotenv": "^16.3.1",
"eventemitter3": "^5.0.1",
"starknet": "^6.8.0",
"viem": "^2.21.45",
"vocs": "latest",
"@cartridge/connector": "^0.6.x",
"@cartridge/controller": "^0.6.x",
"@dojoengine/create-burner": "1.0.4-alpha.3.1.0",
"@dojoengine/react": "1.0.4-alpha.3.1.0",
"@dojoengine/recs": "^2.0.13",
"@dojoengine/state": "1.0.4-alpha.3.1.0",
"@dojoengine/torii-client": "1.0.4-alpha.3.1.0",
"@dojoengine/torii-wasm": "1.0.4-alpha.3.1.0",
"@dojoengine/utils": "1.0.4-alpha.3.1.0"
},
"devDependencies": {
"@bibliothecadao/eternum": "workspace:^",
"@bibliothecadao/react": "workspace:^",
"@dojoengine/core": "1.0.4-alpha.3.1.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"autoprefixer": "^10.4.18",
"eslint": "^9.9.0",
"postcss": "^8.4.35",
"prettier": "^3.x.x",
"typescript": "^5.x.x",
"vite": "^5.x.x",
"vitest": "^2.0.5",
"@types/node": "^20.11.10"
},
"packageManager": "[email protected]+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
}