forked from aave/protocol-subgraphs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 7.43 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
{
"name": "protocol-subgraphs",
"version": "1.0.0",
"description": "This package contains subgraphs of the Aave protocol v2 and v3",
"scripts": {
"generate:schema": "cp ./schemas/${VERSION}.schema.graphql schema.graphql",
"prepare:subgraph": "mustache ./config/${NETWORK}-${VERSION}.json ./templates/${BLOCKCHAIN}.subgraph.template.yaml > subgraph.yaml && rm -rf generated && npm run generate:schema && npm run subgraph:codegen && npm run subgraph:build",
"subgraph:codegen": "graph codegen --output-dir ./generated",
"subgraph:build": "graph build",
"subgraph:deploy:hosted": "graph deploy $SLUG --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"deploy:hosted:mainnet": "VERSION=v2 BLOCKCHAIN=ethereum NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v2 env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:mainnet-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3 env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:goerli-v2": "VERSION=v2 BLOCKCHAIN=ethereum NETWORK=goerli env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v2-goerli env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:goerli-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=goerli env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-goerli env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:glue-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=glue npm run prepare:subgraph && SLUG=aave/protocol-v3-glue npm run subgraph:deploy:hosted",
"deploy:hosted:gho-mainnet": "VERSION=v3-gho BLOCKCHAIN=v3-gho NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=aave/gho-mainnet env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:mainnet-arc": "VERSION=v2-arc BLOCKCHAIN=ethereum-arc NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=aave/aave-arc env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:mainnet-centrifuge": "VERSION=v2-centrifuge BLOCKCHAIN=ethereum-arc NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=aave/aave-centrifuge env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:polygon-v2": "VERSION=v2 BLOCKCHAIN=matic NETWORK=matic env-cmd npm run prepare:subgraph && SLUG=aave/aave-v2-matic env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:polygon-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=polygon env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-polygon env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:mumbai-v2": "VERSION=v2 BLOCKCHAIN=matic NETWORK=mumbai env-cmd npm run prepare:subgraph && SLUG=aave/aave-v2-polygon-mumbai env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:mumbai-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=mumbai env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-mumbai env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:avalanche-v2": "VERSION=v2 BLOCKCHAIN=avalanche NETWORK=avalanche env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v2-avalanche env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:avalanche-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=avalanche env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-avalanche env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:fuji-v2": "VERSION=v2 BLOCKCHAIN=avalanche NETWORK=fuji env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v2-fuji env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:fuji-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=fuji env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-fuji env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:arbitrum-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=arbitrum env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-arbitrum env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:arbitrum-goerli": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=arbitrum-goerli env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-arbitrum-goerli env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:fantom-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=fantom env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-fantom env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:fantom-testnet": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=fantom-testnet env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-fantom-testnet env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:optimism-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=optimism env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-optimism env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:optimism-goerli": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=optimism-goerli env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-optimism-goerli env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:harmony-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=harmony env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-harmony env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:gnosis-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=gnosis env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-gnosis env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:metis-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=andromeda env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-metis env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:base-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=base env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-base env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:bnb-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=bnb env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-bnb env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:scroll-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=scroll env-cmd npm run prepare:subgraph && SLUG=aave/protocol-v3-scroll env-cmd npm run subgraph:deploy:hosted",
"deploy:hosted:v2": "npm run deploy:hosted:mainnet && npm run deploy:hosted:polygon-v2 && npm run deploy:hosted:avalanche-v2",
"deploy:hosted:v2-testnet": "npm run deploy:hosted:goerli-v2 && npm run deploy:hosted:mumbai-v2 && npm run deploy:hosted:fuji-v2",
"deploy:hosted:v3": "npm run deploy:hosted:avalanche-v3 && npm run deploy:hosted:polygon-v3 && npm run deploy:hosted:optimism-v3 && npm run deploy:hosted:fantom-v3 && npm run deploy:hosted:arbitrum-v3 && npm run deploy:hosted:harmony-v3 && npm run deploy:hosted:mainnet-v3 && npm run deploy:hosted:gnosis-v3 && npm run deploy:hosted:bnb-v3 && npm run deploy:hosted:scroll-v3",
"deploy:hosted:v3-testnet": "npm run deploy:hosted:goerli-v3 && npm run deploy:hosted:mumbai-v3 && npm run deploy:hosted:fuji-v3 && npm run deploy:hosted:arbitrum-goerli && npm run deploy:hosted:optimism-goerli && npm run deploy:hosted:fantom-testnet"
},
"repository": {
"type": "git",
"url": "https://github.com/aave/protocol-subgraphs"
},
"author": "AAVE <tech@aave.com>",
"contributors": [
{
"name": "Pol Sendra",
"email": "pol@aave.com"
},
{
"name": "Daniel Martin",
"email": "daniel@aave.com"
},
{
"name": "Andrey Kozlov",
"email": "andrey@aave.com"
},
{
"name": "Andrew Schmidt",
"email": "andrew@aave.com"
}
],
"license": "MIT",
"dependencies": {
"@graphprotocol/graph-cli": "^0.51.2",
"@graphprotocol/graph-ts": "^0.31.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"env-cmd": "^10.1.0",
"eslint": "^6.2.2",
"eslint-config-prettier": "^6.1.0",
"lint-staged": "^9.2.5",
"mustache": "^3.1.0",
"prettier": "^1.18.2",
"typescript": "3.5.3"
},
"engines": {
"node": "16"
}
}