-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathpackage.json
More file actions
314 lines (314 loc) · 25.8 KB
/
Copy pathpackage.json
File metadata and controls
314 lines (314 loc) · 25.8 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
{
"name": "eternum",
"version": "0.1.0",
"type": "module",
"engines": {
"node": ">=20.19.0"
},
"scripts": {
"start": "pnpm run start:amm-indexerv2",
"start:amm-indexerv2": "pnpm --dir ./client/apps/amm-indexerv2 start",
"build": "pnpm --dir ./client/apps/game build",
"build:docs": "cd client/apps/game-docs && pnpm build",
"build:packages": "pnpm --dir ./packages/types build && pnpm --dir ./packages/amm-sdk build && pnpm --dir ./packages/ammv2-sdk build && pnpm --dir ./packages/torii build && pnpm --dir ./packages/provider build && pnpm --dir ./packages/dojo build && pnpm --dir ./packages/core build && pnpm --dir ./packages/react build",
"build:mobile": "pnpm --dir ./client/apps/eternum-mobile 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:webgpu": "pnpm --dir ./client/apps/game dev:webgpu",
"dev:mainnet": "NODE_ENV=mainnet pnpm --dir ./client/apps/game dev",
"dev:docs": "cd ./client/apps/game-docs && vocs dev",
"dev:mobile": "pnpm --dir ./client/apps/eternum-mobile dev",
"preview": "pnpm --dir ./client/apps/game preview",
"_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.{blitz|eternum}` in client/apps/game/",
"_comment_local_network6": "and will also use the matching config environment files",
"_comment_local_network__": "_______________________________________________",
"katana:start:local": "cd ./contracts/game && ./ext/scripts/katana.sh",
"game:migrate:local": "cd ./contracts/game && ./ext/scripts/migrate.sh",
"marketplace:migrate:local": "cd ./contracts/marketplace && ./ext/scripts/migrate.sh",
"seasonpass:deploy:local": "cd ./contracts/season_pass/ext/scripts && ./deploy.sh",
"villagepass:deploy:local": "cd ./contracts/village_pass/ext/scripts && ./deploy.sh",
"seasonresources:deploy:local": "cd ./contracts/season_resources/ext/scripts && ./deploy.sh",
"amm:declare:local": "cd ./contracts/amm/ext/scripts && ./declare.sh",
"amm:deploy:local": "cd ./contracts/amm/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:blitz": "pnpm run build:packages && CONFIG_BATCH=1 pnpm --dir ./config run local:blitz",
"config:deploy:local:eternum": "pnpm run build:packages && CONFIG_BATCH=1 pnpm --dir ./config run local:eternum",
"config:sync:local": "pnpm --dir ./config run sync:local",
"config:sync:local:blitz": "pnpm --dir ./config run sync:local:blitz",
"config:sync:local:eternum": "pnpm --dir ./config run sync:local:eternum",
"prefactory:deploy:local": "node scripts/prefactory-deploy.mjs local",
"prefactory:deploy:local:blitz": "pnpm run game:migrate:local && pnpm run manifest:copy-abis local && pnpm run config:sync:local:blitz",
"prefactory:deploy:local:eternum": "pnpm run game:migrate:local && pnpm run manifest:copy-abis local && pnpm run config:sync:local:eternum",
"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 indexer:start:local && pnpm run config:deploy:local:eternum",
"contract:start:local:blitz": "pnpm run katana:start:local && pnpm run game:migrate:local && pnpm run collectibles:deploy:timelockmaker:local && pnpm run collectibles:loot-chests:deploy:local && pnpm run collectibles:elite-invite:deploy:local && pnpm run collectibles:cosmetics:deploy:local && pnpm run config:deploy:local:blitz && pnpm run indexer:start: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.{blitz|eternum}` in client/apps/game/",
"_comment_slot_network3": "and will also use the matching config environment files",
"_comment_slot_network__": "_______________________________________________",
"katana:start:slot": "bash contracts/game/ext/scripts/slot.sh katana",
"game:migrate:slot:buildonly": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile slot --build-only",
"game:migrate:slot:migrateonly": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile slot --migrate-only",
"game:migrate:slot": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile slot",
"game:migrate:slottest": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile slottest",
"seasonpass:deploy:slot": "cd ./contracts/season_pass/ext/scripts && ./deploy.sh slot",
"villagepass:deploy:slot": "cd ./contracts/village_pass/ext/scripts && ./deploy.sh slot",
"seasonresources:deploy:slot": "cd ./contracts/season_resources/ext/scripts && ./deploy.sh slot",
"amm:declare:slot": "cd ./contracts/amm/ext/scripts && ./declare.sh slot",
"amm:deploy:slot": "cd ./contracts/amm/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",
"indexer:start:global:slot": "slot deployments create blitz-slot-global-1 --tier legendary torii --config contracts/global/torii-slot.toml",
"config:deploy:slot:blitz": "pnpm run build:packages && CONFIG_BATCH=1 pnpm --dir ./config run slot:blitz",
"config:deploy:slot:eternum": "pnpm run build:packages && CONFIG_BATCH=1 pnpm --dir ./config run slot:eternum",
"config:sync:slot": "pnpm --dir ./config run sync:slot",
"config:sync:slot:blitz": "pnpm --dir ./config run sync:slot:blitz",
"config:sync:slot:eternum": "pnpm --dir ./config run sync:slot:eternum",
"prefactory:deploy:slot": "node scripts/prefactory-deploy.mjs slot",
"prefactory:deploy:slot:blitz": "pnpm run game:migrate:slot && pnpm run manifest:copy-abis slot && pnpm run config:sync:slot:blitz",
"prefactory:deploy:slot:eternum": "pnpm run game:migrate:slot && pnpm run manifest:copy-abis slot && pnpm run config:sync:slot:eternum",
"config:deploy:slottest:blitz": "pnpm run build:packages && CONFIG_BATCH=1 pnpm --dir ./config run slottest:blitz",
"config:deploy:slottest:eternum": "pnpm run build:packages && CONFIG_BATCH=1 pnpm --dir ./config run slottest:eternum",
"config:sync:slottest": "pnpm --dir ./config run sync:slottest",
"config:sync:slottest:blitz": "pnpm --dir ./config run sync:slottest:blitz",
"config:sync:slottest:eternum": "pnpm --dir ./config run sync:slottest:eternum",
"prefactory:deploy:slottest": "node scripts/prefactory-deploy.mjs slottest",
"prefactory:deploy:slottest:blitz": "pnpm run game:migrate:slottest && pnpm run manifest:copy-abis slottest && pnpm run config:sync:slottest:blitz",
"prefactory:deploy:slottest:eternum": "pnpm run game:migrate:slottest && pnpm run manifest:copy-abis slottest && pnpm run config:sync:slottest:eternum",
"amm:declare:slottest": "cd ./contracts/amm/ext/scripts && ./declare.sh slottest",
"amm:deploy:slottest": "cd ./contracts/amm/ext/scripts && ./deploy.sh slottest",
"_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.{blitz|eternum}` in client/apps/game/",
"_comment_sepolia_network3": "and will also use the matching config environment files",
"_comment_sepolia_network__": "_______________________________________________",
"game:migrate:sepolia": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile sepolia",
"indexer:start:marketplace:sepolia": "cd ./contracts/marketplace && bash ../game/ext/scripts/slot.sh torii --network sepolia --world 0x07e2ddb0c8ea9b9d357352445776f62ab7a1e635a7bee9f137483f302edb59dd --toml ../game/torii-sepolia.toml --project eternum-marketplace-sepolia-1",
"marketplace:migrate:sepolia": "cd ./contracts/marketplace && ./ext/scripts/migrate.sh --profile sepolia",
"seasonpass:declare:sepolia": "cd ./contracts/season_pass/ext/scripts && ./declare.sh sepolia",
"seasonpass:deploy:sepolia": "cd ./contracts/season_pass/ext/scripts && ./deploy.sh sepolia",
"villagepass:deploy:sepolia": "cd ./contracts/village_pass/ext/scripts && ./deploy.sh sepolia",
"seasonresources:deploy:sepolia": "cd ./contracts/season_resources/ext/scripts && ./deploy.sh sepolia",
"amm:declare:sepolia": "cd ./contracts/amm/ext/scripts && ./declare.sh sepolia",
"amm:deploy:sepolia": "cd ./contracts/amm/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 0x7abda767aa2629ad5ec3277934a81f933911f7022232c1893de4edc108bf260 --toml ./contracts/game --project eternum-sepolia",
"config:deploy:sepolia:blitz": "CONFIG_BATCH=1 pnpm --dir ./config run sepolia:blitz",
"config:deploy:sepolia:eternum": "CONFIG_BATCH=1 pnpm --dir ./config run sepolia:eternum",
"config:sync:sepolia": "pnpm --dir ./config run sync:sepolia",
"config:sync:sepolia:blitz": "pnpm --dir ./config run sync:sepolia:blitz",
"config:sync:sepolia:eternum": "pnpm --dir ./config run sync:sepolia:eternum",
"prefactory:deploy:sepolia": "node scripts/prefactory-deploy.mjs sepolia",
"prefactory:deploy:sepolia:blitz": "pnpm run game:migrate:sepolia && pnpm run manifest:copy-abis sepolia && pnpm run config:sync:sepolia:blitz",
"prefactory:deploy:sepolia:eternum": "pnpm run game:migrate:sepolia && pnpm run manifest:copy-abis sepolia && pnpm run config:sync:sepolia:eternum",
"_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.{blitz|eternum}` in client/apps/game/",
"_comment_mainnet_network3": "and will also use the matching config environment files",
"_comment_mainnet_network__": "_______________________________________________",
"marketplace:migrate:mainnet": "cd ./contracts/marketplace && ./ext/scripts/migrate.sh --profile mainnet",
"game:migrate:mainnet": "cd ./contracts/game && ./ext/scripts/migrate.sh --profile mainnet",
"seasonpass:declare:mainnet": "cd ./contracts/season_pass/ext/scripts && ./declare.sh mainnet",
"seasonpass:deploy:mainnet": "cd ./contracts/season_pass/ext/scripts && ./deploy.sh mainnet",
"villagepass:deploy:mainnet": "cd ./contracts/village_pass/ext/scripts && ./deploy.sh mainnet",
"seasonresources:deploy:mainnet": "cd ./contracts/season_resources/ext/scripts && ./deploy.sh mainnet",
"amm:declare:mainnet": "cd ./contracts/amm/ext/scripts && ./declare.sh mainnet",
"amm:deploy:mainnet": "cd ./contracts/amm/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",
"indexer:start:global:mainnet": "slot deployments create blitz-mainnet-global-1 --tier legendary torii --config contracts/global/torii-mainnet.toml",
"config:deploy:mainnet:blitz": "pnpm run build:packages && pnpm --dir ./config run mainnet:blitz",
"config:deploy:mainnet:eternum": "pnpm run build:packages && pnpm --dir ./config run mainnet:eternum",
"config:sync:mainnet": "pnpm --dir ./config run sync:mainnet",
"config:sync:mainnet:blitz": "pnpm --dir ./config run sync:mainnet:blitz",
"config:sync:mainnet:eternum": "pnpm --dir ./config run sync:mainnet:eternum",
"prefactory:deploy:mainnet": "node scripts/prefactory-deploy.mjs mainnet",
"prefactory:deploy:mainnet:blitz": "pnpm run game:migrate:mainnet && pnpm run manifest:copy-abis mainnet && pnpm run config:sync:mainnet:blitz",
"prefactory:deploy:mainnet:eternum": "pnpm run game:migrate:mainnet && pnpm run manifest:copy-abis mainnet && pnpm run config:sync:mainnet:eternum",
"_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",
"collectibles:declare:local": "cd ./contracts/collectibles/ext/scripts && ./declare.sh",
"collectibles:declare:slot": "cd ./contracts/collectibles/ext/scripts && ./declare.sh slot",
"collectibles:declare:slottest": "cd ./contracts/collectibles/ext/scripts && ./declare.sh slottest",
"collectibles:declare:sepolia": "cd ./contracts/collectibles/ext/scripts && ./declare.sh sepolia",
"collectibles:declare:mainnet": "cd ./contracts/collectibles/ext/scripts && ./declare.sh mainnet",
"collectibles:cosmetics:deploy:local": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh cosmetics local",
"collectibles:cosmetics:deploy:slot": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh cosmetics slot",
"collectibles:cosmetics:deploy:slottest": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh cosmetics slottest",
"collectibles:cosmetics:deploy:sepolia": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh cosmetics sepolia",
"collectibles:cosmetics:deploy:mainnet": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh cosmetics mainnet",
"collectibles:loot-chests:deploy:local": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh loot-chests local",
"collectibles:loot-chests:deploy:slot": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh loot-chests slot",
"collectibles:loot-chests:deploy:slottest": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh loot-chests slottest",
"collectibles:loot-chests:deploy:sepolia": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh loot-chests sepolia",
"collectibles:loot-chests:deploy:mainnet": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh loot-chests mainnet",
"collectibles:cosmetics:mint:local": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:cosmetics:local",
"collectibles:cosmetics:mint:slot": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:cosmetics:slot",
"collectibles:cosmetics:mint:slottest": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:cosmetics:slottest",
"collectibles:cosmetics:mint:sepolia": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:cosmetics:sepolia",
"collectibles:cosmetics:mint:mainnet": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:cosmetics:mainnet",
"collectibles:loot-chests:mint:local": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:loot-chests:local",
"collectibles:loot-chests:mint:slot": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:loot-chests:slot",
"collectibles:loot-chests:mint:slottest": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:loot-chests:slottest",
"collectibles:loot-chests:mint:sepolia": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:loot-chests:sepolia",
"collectibles:loot-chests:mint:mainnet": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:loot-chests:mainnet",
"collectibles:cosmetics:update:local": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:cosmetics:local",
"collectibles:cosmetics:update:slot": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:cosmetics:slot",
"collectibles:cosmetics:update:sepolia": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:cosmetics:sepolia",
"collectibles:cosmetics:update:mainnet": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:cosmetics:mainnet",
"collectibles:loot-chests:update:local": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:loot-chests:local",
"collectibles:loot-chests:update:slot": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:loot-chests:slot",
"collectibles:loot-chests:update:sepolia": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:loot-chests:sepolia",
"collectibles:loot-chests:update:mainnet": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:loot-chests:mainnet",
"collectibles:elite-invite:deploy:local": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh elite-invite local",
"collectibles:elite-invite:deploy:slot": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh elite-invite slot",
"collectibles:elite-invite:deploy:slottest": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh elite-invite slottest",
"collectibles:elite-invite:deploy:sepolia": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh elite-invite sepolia",
"collectibles:elite-invite:deploy:mainnet": "cd ./contracts/collectibles/ext/scripts && ./deploy.sh elite-invite mainnet",
"collectibles:elite-invite:mint:local": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:elite-invite:local",
"collectibles:elite-invite:mint:slot": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:elite-invite:slot",
"collectibles:elite-invite:mint:slottest": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:elite-invite:slottest",
"collectibles:elite-invite:mint:sepolia": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:elite-invite:sepolia",
"collectibles:elite-invite:mint:mainnet": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run mint:elite-invite:mainnet",
"collectibles:elite-invite:update:local": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:elite-invite:local",
"collectibles:elite-invite:update:slot": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:elite-invite:slot",
"collectibles:elite-invite:update:sepolia": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:elite-invite:sepolia",
"collectibles:elite-invite:update:mainnet": "cd ./contracts/collectibles/ext/scripts/deployment && pnpm run update:elite-invite:mainnet",
"collectibles:deploy:timelockmaker:local": "cd ./contracts/collectibles/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:timelockmaker:local",
"collectibles:deploy:timelockmaker:slot": "cd ./contracts/collectibles/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:timelockmaker:slot",
"collectibles:deploy:timelockmaker:slottest": "cd ./contracts/collectibles/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:timelockmaker:slottest",
"collectibles:deploy:timelockmaker:sepolia": "cd ./contracts/collectibles/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:timelockmaker:sepolia",
"collectibles:deploy:timelockmaker:mainnet": "cd ./contracts/collectibles/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:timelockmaker:mainnet",
"mmr:deploy:local": "cd ./contracts/mmr/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:mmr:local",
"mmr:deploy:slot": "cd ./contracts/mmr/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:mmr:slot",
"mmr:deploy:slottest": "cd ./contracts/mmr/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:mmr:slottest",
"mmr:deploy:sepolia": "cd ./contracts/mmr/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:mmr:sepolia",
"mmr:deploy:mainnet": "cd ./contracts/mmr/ext/scripts && ./build.sh && cd deployment && pnpm run deploy:mmr:mainnet",
"mmr:setfactory:local": "cd ./contracts/mmr/ext/scripts/deployment && pnpm run mmr:setfactory:local",
"mmr:setfactory:slot": "cd ./contracts/mmr/ext/scripts/deployment && pnpm run mmr:setfactory:slot",
"mmr:setfactory:slottest": "cd ./contracts/mmr/ext/scripts/deployment && pnpm run mmr:setfactory:slottest",
"mmr:setfactory:sepolia": "cd ./contracts/mmr/ext/scripts/deployment && pnpm run mmr:setfactory:sepolia",
"mmr:setfactory:mainnet": "cd ./contracts/mmr/ext/scripts/deployment && pnpm run mmr:setfactory:mainnet",
"format": "pnpm prettier --write .",
"format:check": "pnpm prettier --check .",
"knip": "NODE_OPTIONS=--max-old-space-size=8192 pnpm dlx knip@5.80.0 --exclude binaries,dependencies",
"lint": "pnpm --recursive run lint",
"lint:fix": "pnpm --recursive run lint:fix",
"typecheck": "pnpm --dir ./client typecheck",
"test": "pnpm --recursive run test",
"summary:weekly": "node scripts/generate-weekly-summary.js",
"summary:monthly": "DAYS_TO_ANALYZE=30 OUTPUT_PATH=monthly-summary.md node scripts/generate-weekly-summary.js",
"realm-names:generate": "node scripts/generate-realm-names.mjs",
"images:analyze": "node scripts/analyze-images.js",
"images:compress": "node scripts/compress-images-with-sharp.js",
"images:compress:dry-run": "node scripts/compress-images-with-sharp.js --dry-run",
"images:compress:webp": "node scripts/compress-images-with-sharp.js --webp",
"manifest:copy-abis": "node scripts/copy-abis.mjs",
"manifest:copy-abis:slot": "node scripts/copy-abis.mjs slot",
"manifest:copy-abis:slottest": "node scripts/copy-abis.mjs slottest",
"manifest:copy-abis:sepolia": "node scripts/copy-abis.mjs sepolia",
"manifest:copy-abis:mainnet": "node scripts/copy-abis.mjs mainnet"
},
"knip": {
"ignoreFiles": [
"client/apps/amm-indexerv2/apibara.config.ts",
"client/apps/amm-indexerv2/indexers/ammv2.indexer.ts",
"client/apps/amm-indexerv2/indexers/factory-client.ts"
]
},
"dependencies": {
"@cartridge/connector": "catalog:",
"@cartridge/controller": "catalog:",
"@dojoengine/react": "catalog:",
"@dojoengine/recs": "catalog:",
"@dojoengine/sdk": "catalog:",
"@dojoengine/state": "catalog:",
"@dojoengine/torii-client": "catalog:",
"@dojoengine/torii-wasm": "catalog:",
"@dojoengine/utils": "catalog:",
"colors": "^1.4.0",
"dotenv": "^16.4.7",
"eventemitter3": "^5.0.1",
"starknet": "catalog:",
"viem": "^2.24.3"
},
"devDependencies": {
"@bibliothecadao/eternum": "workspace:^",
"@bibliothecadao/react": "workspace:^",
"@types/node": "^20.17.30",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.5",
"autoprefixer": "^10.4.21",
"eslint": "^9.23.0",
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"sharp": "^0.34.3",
"typescript": "^5.8.2",
"vite": "7.1.3",
"vitest": "^2.1.9"
},
"packageManager": "pnpm@10.25.0",
"pnpm": {
"overrides": {
"@dojoengine/recs": "2.1.0"
}
},
"workspaces": {
"packages": [
"client",
"client/apps/game",
"client/apps/realtime-server",
"client/apps/game-docs",
"client/apps/heavy-load",
"client/apps/eternum-mobile",
"client/apps/onchain-agent",
"client/apps/amm-indexerv2",
"config",
"packages/*",
"contracts/season_pass/ext/scripts/deployment",
"contracts/season_resources/ext/scripts/deployment",
"scripts/lords-distribution"
],
"catalog": {
"@cartridge/connector": "^0.13.9",
"@cartridge/controller": "^0.13.9",
"@dojoengine/core": "1.7.0-preview.3",
"@dojoengine/predeployed-connector": "1.7.0-preview.3",
"@dojoengine/react": "1.7.0-preview.3",
"@dojoengine/recs": "2.1.0",
"@dojoengine/sdk": "1.7.0-preview.3",
"@dojoengine/state": "1.7.0-preview.3",
"@dojoengine/torii-client": "1.7.0-preview.3",
"@dojoengine/torii-wasm": "1.7.0-preview.3",
"@dojoengine/utils": "1.7.0-preview.3",
"@metamask/sdk": "^0.32.1",
"@solana/web3.js": "^1.98.0",
"@starknet-react/chains": "5.0.3",
"@starknet-react/core": "5.0.3",
"@types/react": "^18",
"@types/react-dom": "^18",
"bignumber.js": "^9.3.0",
"open": "^10.1.0",
"posthog-js": "^1.160.0",
"react": "^18",
"react-dom": "^18",
"starknet": "^8.5.2",
"starknetkit": "^2.10.4"
}
}
}