forked from aave/governance-v2-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
52 lines (52 loc) · 2.62 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
{
"name": "governance-delegation-subgraph",
"version": "1.0.0",
"description": "This package contains governance subgraph for the Aave Governance V2",
"scripts": {
"prepare:all": "npm run prepare:contracts && npm run prepare:subgraph",
"prepare:subgraph": "mustache ./config/${NETWORK:-syscoin}.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:contracts": "rm -rf externals && npm run submodule:get:governance-v2 && npm run submodule:get:aave-token-v2 && npm run submodule:get:stake && npm run submodule:install && npm run submodule:compile-contracts",
"submodule:get:governance-v2": "git submodule add -f https://github.com/pegasys-fi/governance-v2.git externals/governance-v2",
"submodule:get:aave-token-v2": "git submodule add -f https://github.com/pegasys-fi/psys-token-v2.git externals/aave-token-v2",
"submodule:get:stake": "git submodule add -f https://github.com/pegasys-fi/pegasys-stake.git externals/stake",
"submodule:install": "git submodule foreach npm install",
"submodule:load": "git submodule foreach npm run load:npm",
"submodule:compile-contracts": "git submodule foreach npm run compile",
"codegen": "graph codegen --output-dir ./generated",
"build": "graph build",
"create": "graph create pollum-io/governance-v2 --node https://rollux.graph.pegasys.fi/deploy",
"deploy": "graph deploy pollum-io/governance-v2 --node https://rollux.graph.pegasys.fi/deploy --ipfs https://rollux.ipfs.pegasys.fi/ --debug",
"generate-types": "typechain --target=ethers-v5 --out-dir src/contracts 'externals/aave-token-v2/artifacts/contracts/token/AaveTokenV2.sol/AaveTokenV2.json' 'externals/stake/artifacts/contracts/stake/StakedTokenV3.sol/StakedTokenV3.json'",
"test-rollux": "ts-node src/test/subgraph-test.ts Rollux"
},
"repository": {
"type": "git",
"url": "[email protected]:pegasys-fi/governance-v2-subgraph.git"
},
"license": "MIT",
"dependencies": {
"@apollo/client": "^3.3.16",
"@typechain/ethers-v5": "^7.0.1",
"cross-fetch": "^3.1.4",
"dotenv": "^9.0.2",
"ethereum-cryptography": "^2.1.3",
"ethereumjs-util": "^7.1.5",
"ganache-core": "^2.13.2",
"graphql": "^14.7.0",
"sha3": "^2.1.4"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.73.0",
"@graphprotocol/graph-ts": "^0.25.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",
"typechain": "^5.1.2",
"typescript": "^4.3.5"
}
}