forked from dappforce/subsocial-offchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.31 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
{
"name": "dappforce-offchain-storage",
"version": "0.1.0",
"description": "An off-chain storage for Subsocial blockchain.",
"engines": {
"node": ">= 10.13"
},
"resolutions": {
"@polkadot/types": "1.28.1",
"@polkadot/api": "1.28.1"
},
"devDependencies": {
"@polkadot/dev": "^0.32.17",
"@types/axios": "^0.14.0",
"@types/bn.js": "^4.11.5",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.3",
"@types/jest": "^24.0.15",
"@types/multer": "^1.4.4",
"@types/node": "^10.14.10",
"@types/pg": "^7.14.3",
"@types/ws": "^7.2.3",
"jest": "~24.8.0",
"moment-timezone": "^0.5.26",
"nodemon": "^1.18.9",
"typescript": "^3.8.3"
},
"scripts": {
"start": "concurrently \"yarn subscribe\" \"yarn api\" \"yarn init-search\"",
"subscribe": "node ./build/src/substrate/subscribe.js",
"api": "node ./build/src/express-api/server.js",
"init-search": "node ./build/src/search/index.js",
"init-offchain": "node ./build/src/sql/init.js",
"clear-offchain": "node ./build/src/sql/clear-db.js",
"clear-state": "rm -rf ./build/state/state.json",
"ipfs": "yarn jsipfs daemon",
"clean": "rimraf coverage build tmp",
"copy-sql": "find ./src -name '*.sql' | cpio -pd ./build",
"build": "yarn copy-sql && 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",
"setup": "yarn init-offchain && yarn build",
"reindex-content": "node ./build/src/search/reindexer.js"
},
"author": "DappForce contributors",
"license": "GPL-3.0-only",
"dependencies": {
"@elastic/elasticsearch": "^7.4.0",
"@polkadot/types": "1.28.1",
"@subsocial/api": "latest",
"@subsocial/types": "0.4.7",
"@subsocial/utils": "^0.1.23",
"@types/request-promise": "^4.1.46",
"axios": "^0.19.0",
"bn.js": "^4.11.8",
"body-parser": "^1.18.3",
"cheerio": "^1.0.0-rc.3",
"concurrently": "^4.1.2",
"cors": "^2.8.5",
"csvtojson": "^2.0.10",
"dotenv": "^8.0.0",
"eslint": "^6.8.0",
"express": "^4.17.1",
"libp2p": "^0.27.3",
"lodash.isempty": "^4.4.0",
"multer": "^1.4.2",
"pg": "^7.12.1",
"request-promise": "^4.2.5"
}
}