forked from dappforce/subsocial-offchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.41 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
{
"name": "dappforce-subsocial-offchain",
"version": "0.3.5",
"description": "Off-chain services for Subsocial Network.",
"author": "DappForce contributors",
"license": "GPL-3.0-only",
"homepage": "https://github.com/dappforce/dappforce-subsocial-offchain",
"engines": {
"node": ">= 14"
},
"scripts": {
"start": "concurrently \"node ./build/src/index.js\" \"yarn init-search\"",
"subscribe": "node ./build/src/substrate/start/index.js",
"subscribe:with-ws": "node ./build/src/substrate/start/with-ws.js",
"api": "node ./build/src/express-api/index.js",
"ipfs": "yarn jsipfs daemon",
"setup": "yarn init-postgres && yarn build",
"init-search": "node ./build/src/search/index.js",
"init-postgres": "node ./build/src/postgres/init.js",
"clear-postgres": "node ./build/src/postgres/clear-db.js",
"clear-state": "rm -rf ./build/state/state.json",
"clean": "rimraf coverage build tmp",
"copy-sql": "find ./src -name '*.sql' | cpio -pd ./build",
"copy-templates": "find ./src/express-api/email/templates | cpio -pd ./build",
"build": "yarn copy-sql && yarn copy-templates && tsc -p tsconfig.release.json",
"build:watch": "yarn copy-sql && tsc -w -p tsconfig.release.json",
"lint": "tsc --noEmit && eslint '*/**/*.{ts,tsx}' --quiet --fix",
"test": "jest --coverage",
"test:watch": "jest --watch",
"reindex-content": "node ./build/src/search/reindexer.js",
"index-blocks": "node ./build/src/substrate/indexBlocksFromFile.js",
"export-events": "node ./build/src/substrate/exportEventsToFile.js",
"export-storages": "node ./build/src/substrate/exportSubstrateStoragesToFiles.js",
"clean-start-subscribe": "yarn clear-postgres && yarn init-postgres && yarn init-search && yarn index-blocks && yarn reindex-content && yarn subscribe"
},
"resolutions": {
"@polkadot/util": "^7.4.1"
},
"devDependencies": {
"@subsocial/config": "0.6.3-dev.1",
"@types/bn.js": "^4.11.5",
"@types/connect-timeout": "^0.0.34",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.3",
"@types/jest": "^24.0.15",
"@types/jsonabc": "^2.3.1",
"@types/multer": "^1.4.4",
"@types/node": "^10.14.10",
"@types/request-promise": "^4.1.46",
"@types/ws": "^7.2.3",
"@types/yesql": "^4.1.0",
"jest": "~24.8.0",
"typescript": "^4.1.2"
},
"dependencies": {
"@elastic/elasticsearch": "7.4.0",
"@subsocial/api": "0.6.3-dev.1",
"@subsocial/types": "0.6.3-dev.1",
"@subsocial/utils": "0.6.3-dev.1",
"@types/email-templates": "^8.0.0",
"@types/handlebars": "^4.1.0",
"@types/node-cron": "^2.0.3",
"@types/nodemailer": "^6.4.0",
"@types/pg": "^7.14.7",
"@types/uuid": "^8.3.0",
"axios": "^0.21.1",
"base64-img": "^1.0.4",
"bn.js": "^4.11.8",
"body-parser": "^1.18.3",
"chalk": "^4.1.0",
"cheerio": "^1.0.0-rc.3",
"concurrently": "^4.1.2",
"connect-timeout": "^1.9.0",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"dayjs": "^1.10.4",
"dotenv": "^8.0.0",
"email-templates": "^8.0.3",
"express": "^4.17.1",
"handlebars": "^4.7.6",
"json2csv": "^5.0.4",
"jsonabc": "^2.3.1",
"latest": "^0.2.0",
"libp2p": "^0.27.3",
"lodash.isempty": "^4.4.0",
"multer": "^1.4.2",
"node-cron": "^2.0.3",
"nodemailer": "^6.4.17",
"pg": "^8.5.1",
"request-promise": "^4.2.5",
"ts-jest": "^26.4.4",
"uuid": "^8.3.2",
"yesql": "^4.1.3"
}
}