-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
48 lines (48 loc) · 1.68 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
{
"name": "graphql_tfgrid",
"private": "true",
"version": "2.12.2",
"description": "GraphQL server and Substrate indexer. Generated with ♥ by Hydra-CLI",
"author": "",
"license": "ISC",
"scripts": {
"update": "npx npm-check-updates --filter /subsquid/ --upgrade && npm i -f",
"build": "rm -rf lib && tsc",
"db:create-migration": "npx squid-typeorm-migration generate",
"db:migrate": "npx squid-typeorm-migration apply",
"db:init": "node init-countries.js",
"db:up": "docker-compose up -d db",
"process": "node db/init.js && node scripts/init-countries.js && node -r dotenv/config lib/processor.js",
"api": "squid-graphql-server",
"codegen": "npx squid-typeorm-codegen",
"typegen": "squid-substrate-typegen typegen/typegen.json",
"lint": "npm run lint:prod -- --fix",
"lint:prod": "eslint . --ext .ts --ignore-path .gitignore --max-warnings 0"
},
"dependencies": {
"@encointer/util": "^0.14.0",
"@subsquid/archive-registry": "1.0.18",
"@subsquid/big-decimal": "^0.0.0",
"@subsquid/cli": "2.11.0",
"@subsquid/graphql-server": "3.3.2",
"@subsquid/ss58": "^0.1.2",
"@subsquid/substrate-processor": "2.4.1",
"@subsquid/typeorm-migration": "0.1.6",
"@subsquid/typeorm-store": "0.2.2",
"axios": "^0.28.1",
"dotenv": "^16.0.0",
"ipaddr.js": "^2.2.0",
"lodash": "^4.17.21",
"pg": "^8.7.3",
"pg-format": "^1.0.4",
"typeorm": "^0.3.7"
},
"devDependencies": {
"@subsquid/substrate-metadata-explorer": "1.1.2",
"@subsquid/substrate-typegen": "2.2.1",
"@subsquid/typeorm-codegen": "0.3.3",
"@types/lodash": "^4.14.191",
"@types/node": "^20.12.8",
"typescript": "4.9.5"
}
}