-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 5.34 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 5.34 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
{
"name": "octraban-backend",
"version": "1.0.0",
"description": "Human-readable Soroban smart contract block explorer backend",
"main": "dist/index.js",
"scripts": {
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"dev:testnet": "STELLAR_NETWORK=testnet ts-node-dev --respawn --transpile-only src/index.ts",
"dev:mainnet": "STELLAR_NETWORK=mainnet ts-node-dev --respawn --transpile-only src/index.ts",
"dev:devnet": "STELLAR_NETWORK=devnet ts-node-dev --respawn --transpile-only src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"start:testnet": "STELLAR_NETWORK=testnet node dist/index.js",
"start:mainnet": "STELLAR_NETWORK=mainnet node dist/index.js",
"start:devnet": "STELLAR_NETWORK=devnet node dist/index.js",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev",
"prisma:push": "prisma db push",
"index": "ts-node src/indexer/run.ts",
"index:testnet": "STELLAR_NETWORK=testnet ts-node src/indexer/run.ts",
"index:mainnet": "STELLAR_NETWORK=mainnet ts-node src/indexer/run.ts",
"index:devnet": "STELLAR_NETWORK=devnet ts-node src/indexer/run.ts",
"repair": "ts-node src/indexer/repair-run.ts",
"archive": "ts-node src/archival/run.ts",
"seed": "ts-node prisma/seed.ts",
"test": "DATABASE_URL=postgresql://test:test@localhost:5432/test TESTNET_DATABASE_URL=postgresql://test:test@localhost:5432/test STELLAR_NETWORK=testnet vitest run tests/reentrancy-fortress.test.ts tests/api/nlq.test.ts tests/arbitrage-engine.test.ts tests/indexer/token-metadata.test.ts tests/error-handling-integration.test.ts tests/build-queue.test.ts tests/indexer/decoder-parity.test.ts tests/tracer.test.ts",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"postinstall": "prisma generate",
"lint": "eslint 'src/**/*.ts' 'tests/**/*.ts' --max-warnings 400",
"lint:fix": "eslint 'src/**/*.ts' 'tests/**/*.ts' --fix",
"format": "prettier --check 'src/**/*.ts' 'tests/**/*.ts'",
"format:fix": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
"prepare": "husky",
"validate-routes": "ts-node scripts/validate-routes.ts",
"audit:indexes": "ts-node scripts/audit-indexes.ts",
"db:bringup": "ts-node scripts/db-bringup.ts",
"test:routes": "vitest run tests/orphaned-routers-integration.test.ts",
"lint:errors": "eslint src/api",
"lint:error-handling": "eslint 'src/api/**/*.ts' --rule 'error-handling/require-async-handler: error' --max-warnings 0",
"validate:prisma": "ts-node --transpile-only scripts/validate-prisma-references.ts",
"check:mock-gating": "ts-node --transpile-only scripts/check-mock-gating.ts",
"migrate:impact": "ts-node --transpile-only scripts/validate-prisma-references.ts --diff",
"typecheck:scripts": "tsc -p tsconfig.scripts.json --noEmit",
"test:full": "vitest run",
"test:indexer": "npm --prefix indexer test",
"test:all": "npm test && npm run test:indexer"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "3.1090.0",
"@graphql-tools/schema": "^10.0.38",
"@opentelemetry/api": "1.9.1",
"@opentelemetry/auto-instrumentations-node": "0.78.0",
"@opentelemetry/exporter-trace-otlp-http": "0.220.0",
"@opentelemetry/resources": "1.30.1",
"@opentelemetry/sdk-node": "0.220.0",
"@opentelemetry/semantic-conventions": "1.43.0",
"@prisma/client": "^5.10.0",
"@stellar/stellar-sdk": "^12.0.0",
"@types/he": "^1.2.3",
"@types/jsonwebtoken": "^9.0.10",
"@types/node-forge": "^1.3.14",
"axios": "^1.18.1",
"cors": "^2.8.5",
"dataloader": "^2.2.3",
"dotenv": "^16.4.4",
"express": "^4.18.3",
"express-rate-limit": "^7.2.0",
"graphql": "^16.14.2",
"graphql-depth-limit": "^1.1.0",
"graphql-query-complexity": "^1.1.1",
"graphql-yoga": "^5.21.2",
"he": "^1.2.0",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.3",
"kubo-rpc-client": "^7.1.0",
"morgan": "^1.10.0",
"multer": "^2.0.1",
"node-forge": "^1.4.0",
"parquetjs-lite": "^0.8.7",
"prom-client": "^15.1.3",
"redis": "^6.1.0",
"source-map-support": "^0.5.21",
"swagger-jsdoc": "^6.3.0",
"swagger-ui-express": "^5.0.1",
"ws": "^8.21.1",
"zod": "^3.22.4"
},
"optionalDependencies": {
"rate-limit-redis": "^4.2.0"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix --max-warnings 250"
]
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.11",
"@types/node": "^20.11.20",
"@types/source-map-support": "^0.5.10",
"@types/supertest": "^7.2.0",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"@types/ws": "^8.5.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/coverage-v8": "^1.6.1",
"@vitest/ui": "^1.6.1",
"eslint": "^8.57.1",
"eslint-plugin-error-handling": "file:./eslint-plugin-error-handling",
"eslint-plugin-unused-imports": "^4.4.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"prettier": "^3.9.5",
"prisma": "^5.10.0",
"supertest": "^7.2.2",
"ts-morph": "^28.0.0",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3",
"vitest": "^1.4.0"
}
}