-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.64 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "matrixchain-indexer",
"private": true,
"engines": {
"node": ">=20"
},
"scripts": {
"build": "rm -rf lib && tsc",
"build:prod": "rm -rf lib && tsc && npm run sentry:sourcemaps",
"db:migrate": "npx squid-typeorm-migration apply",
"processor:start": "node -r dotenv/config lib/main.js",
"query-node:start": "squid-graphql-server --subscriptions",
"prom:start": "node -r dotenv/config lib/prom-metrics/index.js",
"worker:start": "node -r dotenv/config lib/job-handlers/worker.js",
"metadata:fetch": "rm -rf typegen/canaryVersion.jsonl typegen/matrixVersion.jsonl && npx squid-substrate-metadata-explorer --rpc wss://archive.matrix.blockchain.enjin.io --out typegen/matrixVersion.jsonl && npx squid-substrate-metadata-explorer --rpc wss://archive.matrix.canary.enjin.io --out typegen/canaryVersion.jsonl",
"metadata:typegen": "rm -rf typegen/chainSpecVersions.jsonl && cat typegen/matrixVersion.jsonl typegen/canaryVersion.jsonl > typegen/chainSpecVersions.jsonl && npx squid-substrate-typegen typegen/typegen.json",
"schema:codegen": "npx squid-typeorm-codegen",
"generate:types": "npm run generate:defs && npm run generate:meta",
"generate:defs": "npx tsx node_modules/.bin/polkadot-types-from-defs --package matrixchain-indexer/common/interfaces --input ./src/common/interfaces --endpoint wss://rpc.matrix.blockchain.enjin.io",
"generate:meta": "npx tsx node_modules/.bin/polkadot-types-from-chain --package matrixchain-indexer/common/interfaces --endpoint wss://rpc.matrix.blockchain.enjin.io --output ./src/common/interfaces",
"lint": "eslint src ",
"fix": "eslint src --fix",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org enjin --project enjin-indexer ./lib && sentry-cli sourcemaps upload --org enjin --project enjin-indexer ./lib"
},
"dependencies": {
"@aws-sdk/client-sns": "^3.741.0",
"@bull-board/api": "^6.7.4",
"@bull-board/express": "^6.7.4",
"@polkadot/api": "^15.5.2",
"@polkadot/keyring": "^13.2.3",
"@polkadot/types": "^15.5.2",
"@polkadot/util": "^13.3.1",
"@polkadot/util-crypto": "^13.2.2",
"@sentry/node": "^8.54.0",
"@sentry/profiling-node": "^8.54.0",
"@subsquid/archive-registry": "^3.3.2",
"@subsquid/cli": "^3.0.3",
"@subsquid/graphql-server": "^4.9.0",
"@subsquid/ss58": "^2.0.2",
"@subsquid/substrate-processor": "^8.5.2",
"@subsquid/typeorm-migration": "^1.3.0",
"@subsquid/typeorm-store": "^1.5.1",
"axios": "^1.7.9",
"bull": "^4.16.5",
"cacheable-request": "^8.3.1",
"class-validator": "^0.14.1",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"lodash": "^4.17.21",
"mathjs": "^14.2.0",
"mime-types": "^2.1.35",
"node-cache": "^5.1.2",
"pg": "^8.13.1",
"prom-client": "^15.1.3",
"type-graphql": "^1.2.0-rc.1",
"web3-validator": "^2.0.6"
},
"devDependencies": {
"@polkadot/typegen": "^15.5.2",
"@sentry/cli": "^2.41.1",
"@subsquid/substrate-metadata-explorer": "^3.1.2",
"@subsquid/substrate-typegen": "^8.0.2",
"@subsquid/typeorm-codegen": "^2.0.2",
"@types/express": "^5.0.0",
"@types/lodash": "^4.17.15",
"@types/mime-types": "^2.1.4",
"@types/node": "^22.13.1",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"prettier": "^3.4.2",
"typescript": "^5.7.3"
},
"peerDependencies": {
"@subsquid/typeorm-config": "4.1.1",
"@subsquid/util-internal-hex": "1.2.2",
"reflect-metadata": "^0.2.2",
"typeorm": "^0.3.11"
},
"volta": {
"node": "20.18.2"
}
}