-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
116 lines (116 loc) · 3.77 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
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
{
"name": "subsocial",
"private": true,
"scripts": {
"build": "rm -rf lib && tsc",
"watch": "yarn chokidar \"src/mappings/**/*\" \"src/common/**/*\" \"src/processor.ts\" \"typegen\" -c 'yarn build'",
"init": "node db/init.js",
"db:reset": ". ./scripts/reset-db.sh",
"db:reset-soft": ". ./scripts/soft-reset-db.sh",
"db:migrate": "npx squid-typeorm-migration apply",
"schema:reset": ". ./scripts/reset-schema.sh",
"processor:start": "node -r dotenv/config lib/processor.js",
"processor:docker-run": "bash scripts/docker-run.sh",
"query-node:start": "squid-graphql-server",
"query-node:start-with-cache": "squid-graphql-server --dumb-cache in-memory --dumb-cache-max-age 5000 --dumb-cache-ttl 5000 --dumb-cache-size 200 --subscriptions",
"lint": "npm run lint:prod -- --fix",
"lint:prod": "eslint . --ext .ts --ignore-path .gitignore --max-warnings 0",
"update": "npx npm-check-updates --filter /subsquid/ --upgrade && npm i -f",
"test:unit": "jest --config ./tests/jest-unit.json",
"dh-sdk-i": "scripts/data-hub-sdk-postinstall.sh"
},
"dependencies": {
"@elastic/elasticsearch": "^8.11.0",
"@ipld/dag-cbor": "9.0.8",
"@polkadot/util-crypto": "^12.6.2",
"@sindresorhus/slugify": "^2.2.1",
"@subsocial/api": "^0.8.14",
"@subsocial/data-hub-sdk": "github:dappforce/subsocial-data-hub-sdk#staging",
"@subsocial/elasticsearch": "^0.8.14",
"@subsocial/types": "^0.6.11",
"@subsocial/utils": "^0.8.14",
"@subsquid/archive-registry": "^3.3.0",
"@subsquid/cli": "^2.7.0",
"@subsquid/graphql-server": "^4.5.0",
"@subsquid/ss58": "^2.0.2",
"@subsquid/substrate-processor": "^8.1.1",
"@subsquid/typeorm-migration": "^1.3.0",
"@subsquid/typeorm-store": "^1.2.6",
"@subsquid/util-internal-hex": "^1.2.2",
"@types/lodash.uniq": "^4.5.9",
"axios": "^1.6.5",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
"class-validator": "^0.14.1",
"dayjs": "^1.11.10",
"dotenv": "^16.3.1",
"ethers": "^6.10.0",
"inflected": "^2.1.0",
"ipfs-core": "^0.13.0",
"ipfs-core-types": "^0.13.0",
"ipfs-http-client": "^55.0.0",
"lodash.uniq": "^4.5.0",
"md5": "^2.3.0",
"multiformats": "^13.0.1",
"node-fetch": "^3.3.2",
"p-throttle": "^6.1.0",
"pg": "^8.11.3",
"slugify": "^1.6.6",
"tslib": "^2.6.2",
"twitter-api-v2": "^1.15.2",
"type-graphql": "^1.2.0-rc.1",
"typeorm": "^0.3.19",
"uint8arrays": "^5.0.1",
"yesql": "^7.0.0"
},
"devDependencies": {
"@subsquid/substrate-metadata-explorer": "^3.1.2",
"@subsquid/substrate-typegen": "^8.0.2",
"@subsquid/typeorm-codegen": "^1.3.3",
"@types/blake2b": "^2.1.3",
"@types/elasticsearch": "^5.0.43",
"@types/jest": "^29.5.11",
"@types/md5": "^2.3.5",
"@types/node": "^20.11.4",
"@types/pg": "^8.10.9",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"chokidar-cli": "^3.0.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"prettier": "^3.2.2",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"resolutions": {
"native-fetch": "4.0.2"
},
"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"
]
}
}