-
Notifications
You must be signed in to change notification settings - Fork 105
/
package.json
77 lines (77 loc) · 5.64 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
{
"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:auth": "graph auth --studio $ACCESS_TOKEN",
"subgraph:deploy": "graph deploy --studio $SLUG",
"deploy:hosted:mainnet": "VERSION=v2 BLOCKCHAIN=ethereum NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=protocol-v2 env-cmd npm run subgraph:deploy",
"deploy:hosted:mainnet-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=protocol-v3 env-cmd npm run subgraph:deploy",
"deploy:hosted:mainnetlido-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=mainnetlido env-cmd npm run prepare:subgraph && SLUG=protocol-v3-lido env-cmd npm run subgraph:deploy",
"deploy:hosted:mainnetetherfi-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=mainnetetherfi env-cmd npm run prepare:subgraph && SLUG=protocol-v3-etherfi env-cmd npm run subgraph:deploy",
"deploy:hosted:gho-mainnet": "VERSION=v3-gho BLOCKCHAIN=v3-gho NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=gho-mainnet env-cmd npm run subgraph:deploy",
"deploy:hosted:mainnet-centrifuge": "VERSION=v2-centrifuge BLOCKCHAIN=ethereum-arc NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=aave-centrifuge env-cmd npm run subgraph:deploy",
"deploy:hosted:polygon-v2": "VERSION=v2 BLOCKCHAIN=matic NETWORK=matic env-cmd npm run prepare:subgraph && SLUG=aave-v2-matic env-cmd npm run subgraph:deploy",
"deploy:hosted:polygon-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=polygon env-cmd npm run prepare:subgraph && SLUG=protocol-v3-polygon env-cmd npm run subgraph:deploy",
"deploy:hosted:avalanche-v2": "VERSION=v2 BLOCKCHAIN=avalanche NETWORK=avalanche env-cmd npm run prepare:subgraph && SLUG=protocol-v2-avalanche env-cmd npm run subgraph:deploy",
"deploy:hosted:avalanche-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=avalanche env-cmd npm run prepare:subgraph && SLUG=protocol-v3-avalanche env-cmd npm run subgraph:deploy",
"deploy:hosted:fuji-v2": "VERSION=v2 BLOCKCHAIN=avalanche NETWORK=fuji env-cmd npm run prepare:subgraph && SLUG=protocol-v2-fuji env-cmd npm run subgraph:deploy",
"deploy:hosted:arbitrum-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=arbitrum env-cmd npm run prepare:subgraph && SLUG=protocol-v3-arbitrum env-cmd npm run subgraph:deploy",
"deploy:hosted:fantom-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=fantom env-cmd npm run prepare:subgraph && SLUG=protocol-v3-fantom env-cmd npm run subgraph:deploy",
"deploy:hosted:optimism-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=optimism env-cmd npm run prepare:subgraph && SLUG=protocol-v3-optimism env-cmd npm run subgraph:deploy",
"deploy:hosted:harmony-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=harmony env-cmd npm run prepare:subgraph && SLUG=aave-v3-harmony env-cmd npm run subgraph:deploy",
"deploy:hosted:gnosis-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=gnosis env-cmd npm run prepare:subgraph && SLUG=protocol-v3-gnosis env-cmd npm run subgraph:deploy",
"deploy:hosted:base-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=base env-cmd npm run prepare:subgraph && SLUG=aave-v3-base env-cmd npm run subgraph:deploy",
"deploy:hosted:bnb-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=bnb env-cmd npm run prepare:subgraph && SLUG=protocol-v3-bnb env-cmd npm run subgraph:deploy",
"deploy:hosted:scroll-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=scroll env-cmd npm run prepare:subgraph && SLUG=aave-v3-scroll env-cmd npm run subgraph:deploy",
"deploy:hosted:zksync-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=zksync env-cmd npm run prepare:subgraph && SLUG=protocol-v3-zksync env-cmd npm run subgraph:deploy",
"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",
"prepare:metis-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=andromeda env-cmd npm run prepare:subgraph && SLUG=protocol-v3-metis"
},
"repository": {
"type": "git",
"url": "https://github.com/aave/protocol-subgraphs"
},
"author": "AAVE <[email protected]>",
"contributors": [
{
"name": "Pol Sendra",
"email": "[email protected]"
},
{
"name": "Daniel Martin",
"email": "[email protected]"
},
{
"name": "Andrey Kozlov",
"email": "[email protected]"
},
{
"name": "Andrew Schmidt",
"email": "[email protected]"
}
],
"license": "MIT",
"dependencies": {
"@graphprotocol/graph-cli": "^0.80.0",
"@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": ">=18"
}
}