-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.63 KB
/
package.json
File metadata and controls
32 lines (32 loc) · 1.63 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
{
"name": "efp-workspace",
"version": "1.0.0",
"description": "Root developer workspace for monorepo-style development of Ethereum Follow Protocol",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"typescript": "^5.3.3"
},
"scripts": {
"anvil": "docker compose up --build --force-recreate anvil",
"api": "cd api && bun dev",
"api:demo": "./api/scripts/demo.sh",
"api:time": "./api/scripts/demo.sh time",
"clone": "bun clone:api && bun clone:app && bun clone:contracts-beta && bun clone:docs && bun clone:indexer",
"clone:api": "[ -d 'api' ] || git clone --recurse-submodules git@github.com:ethereumfollowprotocol/api.git api",
"clone:app": "[ -d 'app' ] || git clone --recurse-submodules git@github.com:ethereumfollowprotocol/app.git app",
"clone:contracts-beta": "[ -d 'contracts-beta' ] || git clone --recurse-submodules git@github.com:ethereumfollowprotocol/contracts-beta.git contracts-beta",
"clone:docs": "[ -d 'docs' ] || git clone --recurse-submodules git@github.com:ethereumfollowprotocol/docs.git docs",
"clone:indexer": "[ -d 'indexer' ] || git clone --recurse-submodules git@github.com:ethereumfollowprotocol/indexer.git indexer",
"contracts": "docker compose up --build contracts",
"drop": "cd indexer && bun drop",
"database": "docker compose up --build --force-recreate database",
"db": "bun database",
"ddb": "bun drop && bun db",
"ddba": "bun drop && docker compose up --build --force-recreate anvil database",
"dbup": "cd indexer && bun database:up",
"indexer": "docker compose up --build indexer",
"reup": "bun drop && bun up",
"up": "docker compose up --build --force-recreate"
}
}