-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (55 loc) · 5.4 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
{
"name": "fathom-vaults-subgraph",
"version": "1.0.0",
"repository": "https://github.com/into-the-fathom/fathom-vaults-subgraph",
"license": "AGPL 3.0",
"scripts": {
"clean": "rm -rf build/ generated/ config/addresses.ts config/generatedAddresses.json subgraph.yaml",
"codegen": "graph codegen",
"build": "graph build",
"test": "graph test",
"create:local": "graph create --node http://localhost:8020/ vaults-subgraph subgraph.yaml",
"remove:local": "graph remove --node http://localhost:8020/ vaults-subgraph subgraph.yaml",
"deploy:local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 vaults-subgraph subgraph.yaml",
"create:k8s": "graph create --node http://graph-service:8020 vaults-subgraph subgraph.yaml",
"remove:k8s": "graph remove --node http://graph-service:8020 vaults-subgraph subgraph.yaml",
"deploy:k8s": "graph deploy --node http://graph-service:8020 --ipfs http://ipfs-service:5001 vaults-subgraph subgraph.yaml",
"create:k8s:sepolia": "graph create --node http://sepolia-graph-node-service.graph-node:8020 vaults-subgraph",
"remove:k8s:sepolia": "graph remove --node http://sepolia-graph-node-service.graph-node:8020 vaults-subgraph",
"deploy:k8s:sepolia": "graph deploy --node http://sepolia-graph-node-service.graph-node:8020 --ipfs http://ipfs-service.graph-node:5001 --version-label v0.0.1 vaults-subgraph",
"create:k8s:apothem": "graph create --node http://apothem-graph-node-service:8020/ vaults-subgraph",
"remove:k8s:apothem": "graph remove --node http://apothem-graph-node-service:8020/ vaults-subgraph",
"deploy:k8s:apothem": "graph deploy --node http://apothem-graph-node-service:8020/ --ipfs http://ipfs-service:5001 --version-label v0.0.1 vaults-subgraph",
"create:k8s:xinfin": "graph create --node http://xinfin-graph-node-service:8020/ vaults-subgraph",
"remove:k8s:xinfin": "graph remove --node http://xinfin-graph-node-service:8020/ vaults-subgraph",
"deploy:k8s:xinfin": "graph deploy --node http://xinfin-graph-node-service:8020/ --ipfs http://ipfs-service:5001 --version-label v0.0.1 vaults-subgraph",
"create:k8s:apothem-public-node": "graph create --node https://graph.apothem.network/ fathom-vaults-subgraph",
"remove:k8s:apothem-public-node": "graph remove --node https://graph.apothem.network/ fathom-vaults-subgraph",
"deploy:k8s:apothem-public-node": "graph deploy --node https://graph.apothem.network/ --ipfs https://ipfs.apothem.network --version-label v1.0.0 fathom-vaults-subgraph",
"create:k8s:xinfin-public-node": "graph create --node https://graph.xinfin.network/ fathom-vaults-subgraph",
"remove:k8s:xinfin-public-node": "graph remove --node https://graph.xinfin.network/ fathom-vaults-subgraph",
"deploy:k8s:xinfin-public-node": "graph deploy --node https://graph.xinfin.network/ --ipfs https://ipfs.xinfin.network/ --version-label v1.0.0 fathom-vaults-subgraph",
"prep:addresses:apothem:dev": "ts-node config/apothemAddressScript.ts dev && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prep:apothem:dev": "yarn clean && yarn prep:addresses:apothem:dev && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen && graph build",
"prep:addresses:apothem-public-node:dev": "ts-node config/apothemAddressScript.ts dev && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prep:apothem-public-node:dev": "yarn clean && yarn prep:addresses:apothem-public-node:dev && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen && graph build",
"prep:addresses:apothem:qa": "ts-node config/apothemAddressScript.ts qa && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prep:apothem:qa": "yarn clean && yarn prep:addresses:apothem:qa && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen && graph build",
"prep:addresses:sepolia:dev": "ts-node config/sepoliaAddressScript.ts dev && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prep:sepolia:dev": "yarn clean && yarn prep:addresses:sepolia:dev && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen && graph build",
"prep:addresses:xinfin:xinfin": "ts-node config/xinfinAddressScript.ts xinfin && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prep:xinfin:prod": "yarn clean && yarn prep:addresses:xinfin:xinfin && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen && graph build",
"prep:addresses:xinfin-public-node:xinfin": "ts-node config/xinfinAddressScript.ts xinfin && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prep:xinfin-public-node:prod": "yarn clean && yarn prep:addresses:xinfin-public-node:xinfin && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen && graph build"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.21.3",
"@graphprotocol/graph-ts": "^0.20.0",
"ts-node": "^10.9.2"
},
"devDependencies": {
"mustache": "^4.2.0",
"@types/node": "^14.0.13",
"typescript": "^3.9.3"
}
}