-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 3.35 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 3.35 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
{
"name": "@centrifuge/api-v3",
"version": "3.1.0",
"repository": "https://github.com/centrifuge/api-v3",
"private": false,
"type": "module",
"scripts": {
"predev": "docker compose up -d",
"dev": "ponder dev --port 8000 --disable-ui",
"postdev": "docker compose down",
"prestart": "pnpm update-registry",
"start": "ponder start",
"preserve": "pnpm update-registry",
"serve": "ponder serve",
"db": "ponder db",
"codegen": "ponder codegen",
"lint": "eslint src/**/*.ts",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json}\"",
"typecheck": "tsc",
"typecheck:watch": "tsc -w",
"tsgo": "tsgo",
"tsgo:watch": "tsgo -w",
"prepare": "husky",
"update-registry": "node scripts/fetch-registry.mjs",
"evgrep": "scripts/evgrep.sh",
"sync": "node scripts/cache.mjs",
"compare-schema": "graphql-inspector diff https://api.centrifuge.io generated/schema.graphql --rule safeUnreachable --rule ignoreDescriptionChanges | grep 'Field.*removed'",
"sync:export": "mkdir -p .ponder && docker compose exec -T db sh -lc 'pg_dump --dbname=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB --schema=ponder_sync --no-owner --no-privileges --clean --if-exists' | gzip > .ponder/$(date +%Y%m%d)_ponder_sync.sql.gz",
"sync:push": "LATEST=$(ls -t .ponder/*_ponder_sync.sql.gz 2>/dev/null | head -n 1); TAG=$(basename \"$LATEST\" | sed 's/_ponder_sync.sql.gz$//'); cp \"$LATEST\" ponder_sync.sql.gz; REPO=$(node -p \"(() => { const repo=require('./package.json').repository; const url=typeof repo==='string'?repo:repo?.url; return new URL(url).pathname.replace(/^\\\\//,'').replace(/\\\\.git$/,''); })()\"); USER=$(gh api user -q .login); gh auth token | oras login ghcr.io -u \"$USER\" --password-stdin; oras push ghcr.io/$REPO/ponder-sync:$TAG ponder_sync.sql.gz:application/gzip; oras tag ghcr.io/$REPO/ponder-sync:$TAG latest; rm -f ponder_sync.sql.gz"
},
"dependencies": {
"@dfatwork-pkgs/oras-client": "^0.1.0",
"@ponder/utils": "^0.2.17",
"bn.js": "^5.2.3",
"dotenv": "^16.3.1",
"drizzle-orm": "0.41.0",
"hono": "^4.9.12",
"node-fetch": "^3.3.2",
"pg": "^8.11.3",
"pg-copy-streams": "^6.0.6",
"picocolors": "^1.1.1",
"pino": "^8.16.2",
"pino-pretty": "^13.1.3",
"ponder": "0.16.2",
"viem": "^2.37.11"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@graphql-inspector/cli": "^6.0.5",
"@types/bn.js": "^5.2.0",
"@types/node": "^22.19.2",
"@types/pg": "^8.10.9",
"@types/pg-copy-streams": "^1.2.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript/native-preview": "7.0.0-dev.20251124.1",
"eslint": "^8.57.1",
"eslint-config-ponder": "^0.14.13",
"eslint-plugin-jsdoc": "^56.1.2",
"eslint-plugin-unused-imports": "^4.3.0",
"husky": "^9.1.7",
"prettier": "^3.8.0",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=22"
},
"pnpm": {
"overrides": {
"@hono/node-server": "^1.10.2",
"hono": "^4.11.10",
"tar": "^7.5.11",
"minimatch": "^9.0.6",
"ajv": "^8.18.0",
"eslint>ajv": "^6.12.6",
"@eslint/eslintrc>ajv": "^6.12.6",
"rollup": "^4.59.0"
}
}
}