forked from reflexer-labs/geb-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 3.11 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
{
"name": "geb-subgraph",
"version": "0.1.0",
"description": "The Graph protocol subgraph for GEB",
"scripts": {
"auth": "graph auth https://api.thegraph.com/deploy/",
"build": "graph build --ipfs https://ipfs.network.thegraph.com",
"codegen": "rm -rf generated && graph codegen",
"create": "graph create --node ${GRAPH_ADMIN_RPC_URL} ${SUBGRAPH_NAME}",
"remove": "graph remove --node ${GRAPH_ADMIN_RPC_URL} ${SUBGRAPH_NAME}",
"deploy-local": "npm run prepare-${NETWORK:-mainnet} && npm run codegen && npm run create; graph deploy --node ${GRAPH_ADMIN_RPC_URL} --ipfs ${IPFS_URL} ${SUBGRAPH_NAME}",
"deploy-hosted-kovan": "npm run prepare-kovan && npm run codegen && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ reflexer-labs/rai-kovan",
"deploy-hosted-mainnet": "npm run prepare-mainnet && npm run codegen && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ reflexer-labs/rai-mainnet",
"deploy-hosted-dev": "npm run prepare-mainnet && npm run codegen && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ guifel/geb",
"deploy-hosted-dev-kovan": "npm run prepare-kovan && npm run codegen && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ guifel/gebkovan",
"prepare-mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml && mustache config/mainnet.json src/utils/addresses.template.ts > src/utils/addresses.ts",
"prepare-kovan": "mustache config/kovan.json subgraph.template.yaml > subgraph.yaml && mustache config/kovan.json src/utils/addresses.template.ts > src/utils/addresses.ts",
"update-abis": "node update_abis.js geb-subgraph/abis kovan/0.6.0",
"test-hosted-kovan": "ETH_RPC=https://parity0.kovan.makerfoundation.com:8545 SUBGRAPH_NODE_URL=https://api.thegraph.com/subgraphs/name/reflexer-labs/rai-kovan TS_NODE_PROJECT=test/tsconfig.json mocha -r ts-node/register --timeout 5000 ./test/*.test.ts",
"test-hosted-mainnet": "ETH_RPC=https://parity0.mainnet.makerfoundation.com:8545 SUBGRAPH_NODE_URL=TODO TS_NODE_PROJECT=test/tsconfig.json mocha -r ts-node/register --timeout 5000 ./test/*.test.ts",
"test-aws-kovan": "ETH_RPC=https://parity0.kovan.makerfoundation.com:8545 SUBGRAPH_NODE_URL=https://subgraph-kovan.reflexer.finance/subgraphs/name/reflexer-labs/rai/graphql TS_NODE_PROJECT=test/tsconfig.json mocha -r ts-node/register --timeout 5000 ./test/*.test.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reflexer-labs/geb-subgraph.git"
},
"author": "Guillaume Felley",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/reflexer-labs/geb-subgraph/issues"
},
"homepage": "https://github.com/reflexer-labs/geb-subgraph#readme",
"devDependencies": {
"@graphprotocol/graph-cli": "^0.20.1",
"@graphprotocol/graph-ts": "^0.18.1",
"@types/mocha": "^8.0.3",
"axios": "^0.20.0",
"ethers": "^5.0.17",
"geb.js": "0.0.18",
"mocha": "^8.1.3",
"mustache": "^4.0.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
}
}