-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.97 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
{
"name": "efp-list-records-indexer",
"version": "0.0.0",
"description": "Ethereum Follow Protocol Indexer",
"type": "module",
"scripts": {
"clean": "/bin/bash ./scripts/clean.sh",
"build": "bun build ./src/index.ts --minify --target='bun' --format='esm' --outfile='./dist/index.js'",
"database": "docker compose --file='compose.yml' --project-name='efp' up --build --force-recreate --remove-orphans database",
"database:drop": "dbmate drop",
"database:generate-types": "kysely-codegen --dialect='postgres' --type-only-imports --log-level='error' --out-file='./src/database/generated/index.ts' && bun format:ts && (cp ./src/database/generated/index.ts ../api/src/types/generated/index.ts || true)",
"database:reset": "bun database:drop && bun database:up && bun database:generate-types",
"database:status": "dbmate status",
"database:up": "./scripts/setup-database.sh",
"db": "bun database",
"dev": "bun --watch --hot ./src/index.ts",
"down": "docker compose --file='compose.yml' --project-name='efp' down --remove-orphans",
"drop": "bun down && docker volume rm --force efp_database",
"format": "bun format:sql && bun format:ts",
"format:sql": "./scripts/format-sql.sh",
"format:ts": "bunx @biomejs/biome format . --write",
"indexer": "docker compose --file='compose.yml' --project-name='efp' up --build --force-recreate --remove-orphans indexer",
"lint": "bunx @biomejs/biome check --write . && bun typecheck",
"typecheck": "tsc --project tsconfig.json --noEmit",
"ping": "docker compose --file='compose.yml' --project-name='efp' up --build --force-recreate --remove-orphans ping",
"reup": "bun drop && bun up",
"test": "vitest --run",
"test:ui": "vitest --ui",
"test:typecheck": "vitest --typecheck",
"up": "docker compose --file='compose.yml' --project-name='efp' up --build --force-recreate --remove-orphans --always-recreate-deps database indexer",
"upd": "docker compose --file='compose.yml' --project-name='efp' up --build --detach --force-recreate --remove-orphans --always-recreate-deps database indexer",
"update-dependencies": "bun ./scripts/update-dependencies.ts"
},
"dependencies": {
"consola": "^3.2.3",
"exit-hook": "^4.0.0",
"heap-js": "^2.3.0",
"kysely": "^0.27.2",
"kysely-postgres-js": "^2.0.0",
"postgres": "^3.4.3",
"std-env": "^3.7.0",
"viem": "^2.5.0"
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@total-typescript/ts-reset": "^0.5.1",
"@types/bun": "^1.0.4",
"@types/node": "^20.11.6",
"@vitest/ui": "^1.2.1",
"bun": "^1.0.25",
"dbmate": "^2.11.0",
"kysely-codegen": "^0.11.0",
"pg": "^8.11.3",
"typescript": "^5.3.3",
"vitest": "^1.2.1"
},
"repository": "github:ethereumfollowprotocol/list-records-indexer",
"homepage": "github:ethereumfollowprotocol/indexer#README.md",
"contributors": ["throw; [email protected] 0xthrpw.eth", "Cory Gabrielsen cory.eth", "Omar Aziz esm.eth"],
"sideEffects": false
}