-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
87 lines (87 loc) · 2.57 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
86
87
{
"name": "x-seller-squid",
"private": true,
"engines": {
"node": ">=16"
},
"scripts": {
"build": "rm -rf lib && tsc",
"update": "npx npm-check-updates --filter /subsquid/ --upgrade && npm i -f",
"db:migrate": "npx squid-typeorm-migration apply",
"processor:start": "node lib/processor.js",
"query-node:start": "squid-graphql-server --subscriptions --max-response-size 10000 --dumb-cache in-memory --dumb-cache-ttl 1000 --dumb-cache-size 100 --dumb-cache-max-age 1000",
"db:reset": ". ./scripts/reset-db.sh",
"test": "NODE_ENV=development jest",
"test:unit": "jest --config ./tests/jest-unit.json",
"test:e2e": "jest --config ./tests/jest-e2e.json"
},
"dependencies": {
"@polkadot/api": "^9.14.2",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"@subsocial/api": "^0.8.1",
"@subsocial/utils": "0.8.13",
"@subsquid/archive-registry": "2.1.6",
"@subsquid/graphql-server": "3.3.2",
"@subsquid/ss58": "0.1.4",
"@subsquid/substrate-processor": "2.4.0",
"@subsquid/typeorm-migration": "0.1.6",
"@subsquid/typeorm-store": "0.2.2",
"axios": "^1.3.5",
"better-sqlite3": "^8.2.0",
"dayjs": "^1.11.7",
"dotenv": "^16.0.0",
"gql-query-builder": "^3.8.0",
"mongodb": "^3.7.0",
"node-cron": "^3.0.2",
"node-fetch": "^3.3.1",
"pg": "8.9.0",
"sqlite3": "^5.1.6",
"telegraf": "^4.12.2",
"type-graphql": "^1.2.0-rc.1",
"typeorm": "0.3.11"
},
"devDependencies": {
"@subsquid/substrate-metadata-explorer": "1.1.1",
"@subsquid/substrate-typegen": "2.2.1",
"@subsquid/typeorm-codegen": "0.3.3",
"@types/jest": "^29.4.0",
"@types/node": "18.11.18",
"@types/node-cron": "^3.0.7",
"eslint": "^7.32.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-type-graphql": "^0.3.2",
"jest": "^29.4.3",
"jest-extended": "^3.2.4",
"prettier": "^2.8.4",
"ts-jest": "^29.0.5",
"typescript": "4.9.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "./",
"modulePaths": [
"<rootDir>"
],
"testRegex": "(.*\\.unit\\.ts$)|(.*\\.e2e\\.ts$)",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"setupFilesAfterEnv": [
"jest-extended/all"
]
}
}