forked from w3f/1k-validators-be
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 4.89 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
{
"name": "1k-validators-be",
"packageManager": "[email protected]",
"yarnPath": ".yarn/releases/yarn-3.2.2.cjs",
"private": true,
"workspaces": [
"packages/common",
"packages/worker",
"packages/gateway",
"packages/telemetry",
"packages/core"
],
"scripts": {
"docs": "cd docs && npm install && npm run build ",
"open:polkadot-apps": "open-cli https://polkadot.js.org/apps/?rpc=ws%3A%2F%2F127.0.0.1%3A9944#/staking",
"open:bull": "open-cli http://localhost:3301/bull",
"open:mongo-express: ": "open-cli http://localhost:8888",
"create-config-kusama-current": "yarn workspace @1kv/core run create-config-kusama-current",
"create-config-polkadot-current": "yarn workspace @1kv/core run create-config-polkadot-current",
"create-config-kusama-current-dev": "yarn workspace @1kv/core run create-config-kusama-current-dev",
"create-config-polkadot-current-dev": "yarn workspace @1kv/core run create-config-polkadot-current-dev",
"create-config-kusama-microservice": "yarn workspaces foreach run create-config-kusama-microservice",
"create-config-polkadot-microservice": "yarn workspaces foreach run create-config-polkadot-microservice",
"create-config-kusama-microservice-dev": "yarn workspaces foreach run create-config-kusama-microservice-dev",
"create-config-polkadot-microservice-dev": "yarn workspaces foreach run create-config-polkadot-microservice-dev",
"docker:kusama-current:start": "yarn run create-config-kusama-current && docker compose -f docker-compose.current.yml up -d --build && yarn run docker:logs",
"docker:polkadot-current:start": "yarn run create-config-polkadot-current && docker compose -f docker-compose.current.yml up -d --build && yarn run docker:logs",
"docker:kusama-current-dev:start": "yarn run create-config-kusama-current-dev && docker compose -f docker-compose.yml up -d --build && yarn run docker:logs",
"docker:polkadot-current-dev:start": "yarn run create-config-polkadot-current-dev && docker compose -f docker-compose.yml up -d && yarn run docker:logs",
"docker:kusama-microservice:start": "yarn run create-config-kusama-microservice && docker compose -f docker-compose.microservice.yml up -d --build && yarn run docker:logs",
"docker:kusama-microservice-dev:start": "yarn run create-config-kusama-microservice-dev && docker compose -f docker-compose.yml up -d --build && yarn run docker:logs",
"docker:polkadot-microservice:start": "yarn run create-config-polkadot-microservice && docker compose -f docker-compose.microservice.yml up -d --build && yarn run docker:logs",
"docker:polkadot-microservice-dev:start": "yarn run create-config-polkadot-microservice-dev && docker compose -f docker-compose.yml up -d --build && yarn run docker:logs",
"docker:logs": "docker compose logs -f",
"docker:logs:core": "docker logs 1k-validators-be-1kv-core-1 -f",
"docker:logs:gateway": "docker logs 1k-validators-be-1kv-gateway-1 -f",
"docker:logs:telemetry": "docker logs 1k-validators-be-1kv-telemetry-1 -f",
"docker:logs:worker": "docker logs 1k-validators-be-1kv-worker-1 -f",
"docker:stop": "docker compose down",
"lint": "yarn workspaces foreach run lint",
"lint:fix": "yarn workspaces foreach run lint:fix",
"clean": "rm -rf redis/ && yarn workspaces foreach run clean",
"build": "yarn run docs && yarn workspaces foreach -t run build",
"build:clean": "yarn workspaces foreach run clean:build",
"start:dev:gateway": "yarn workspace @1kv/gateway run start:dev",
"start:js:gateway": "NODE_OPTIONS='--max-old-space-size=10096' yarn workspace @1kv/gateway run js:start",
"start:dev:core": "yarn workspace @1kv/core run start:dev",
"start:js:core": "NODE_OPTIONS='--max-old-space-size=10096' yarn workspace @1kv/core run js:start",
"start:dev:telemetry": "yarn workspace @1kv/telemetry run start:dev",
"start:js:telemetry": "NODE_OPTIONS='--max-old-space-size=10096' yarn workspace @1kv/telemetry run js:start",
"start:dev:worker": "yarn workspace @1kv/worker run start:dev",
"start:js:worker": "NODE_OPTIONS='--max-old-space-size=10096' yarn workspace @1kv/worker run js:start"
},
"devDependencies": {
"@types/coingecko-api": "^1",
"@types/eslint": "^8.44.7",
"@types/koa-mount": "^4",
"@types/node": "^20.10.5",
"@types/request": "^2.48.12",
"@types/yamljs": "^0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eslint": "8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8"
},
"dependencies": {
"coingecko-api": "^1.0.10",
"coingecko-api-v3": "^0.0.29",
"date-fns": "^2.30.0",
"koa-mount": "^4.0.0",
"koa-static": "^5.0.0",
"koa-swagger-decorator": "next",
"node-fetch": "2.6.1",
"request": "^2.88.2",
"swagger-jsdoc": "^6.2.8",
"swagger2": "^4.0.3",
"swagger2-koa": "^4.0.0",
"yamljs": "^0.3.0"
}
}