-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 3.44 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
{
"name": "v5-prize-pool-subgraph",
"license": "UNLICENSED",
"scripts": {
"codegen": "graph codegen",
"build": "graph build",
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ @pooltogether/v5-prize-pool-subgraph",
"clean": "rm -rf build/ generated/ && rm -f ./src/constants/generated.ts",
"create-local": "graph create --node http://localhost:8020/ @pooltogether/v5-prize-pool-subgraph",
"remove-local": "graph remove --node http://localhost:8020/ @pooltogether/v5-prize-pool-subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 @pooltogether/v5-prize-pool-subgraph",
"prepare:mainnet": "mustache networks/mainnet.json subgraph.template.yaml subgraph.mainnet.yaml",
"prepare:goerli": "mustache networks/goerli.json subgraph.template.yaml subgraph.goerli.yaml",
"prepare:sepolia": "mustache networks/sepolia.json subgraph.template.yaml subgraph.sepolia.yaml",
"prepare:mumbai": "mustache networks/mumbai.json subgraph.template.yaml subgraph.mumbai.yaml",
"gen:mainnet": "graph codegen subgraph.mainnet.yaml",
"gen:goerli": "graph codegen subgraph.goerli.yaml",
"gen:sepolia": "graph codegen subgraph.sepolia.yaml",
"gen:mumbai": "graph codegen subgraph.mumbai.yaml",
"build:mainnet": "graph build subgraph.mainnet.yaml",
"build:goerli": "graph build subgraph.goerli.yaml",
"build:sepolia": "graph build subgraph.sepolia.yaml",
"build:mumbai": "graph build subgraph.mumbai.yaml",
"deploy:mainnet:hosted": "graph deploy --product hosted-service --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/v5-eth-mainnet-prize-pool subgraph.mainnet.yaml",
"deploy:mainnet:decentralized": "graph deploy --studio v5-eth-mainnet-prize-pool subgraph.mainnet.yaml",
"deploy:goerli:hosted": "graph deploy --product hosted-service --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/v5-eth-goerli-prize-pool subgraph.goerli.yaml",
"deploy:sepolia:hosted": "graph deploy --product hosted-service --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/v5-eth-sepolia-prize-pool subgraph.sepolia.yaml",
"deploy:sepolia:decentralized": "graph deploy --studio v5-prize-pool-eth-sepolia subgraph.sepolia.yaml",
"deploy:mumbai:hosted": "graph deploy --product hosted-service --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/v5-polygon-mumbai-prize-pool subgraph.mumbai.yaml",
"all-mainnet:hosted": "yarn clean && yarn prepare:mainnet && yarn gen:mainnet && yarn deploy:mainnet:hosted",
"all-mainnet:decentralized": "yarn clean && yarn prepare:mainnet && yarn gen:mainnet && yarn deploy:mainnet:decentralized",
"all-goerli:hosted": "yarn clean && yarn prepare:goerli && yarn gen:goerli && yarn deploy:goerli:hosted",
"all-sepolia:hosted": "yarn clean && yarn prepare:sepolia && yarn gen:sepolia && yarn deploy:sepolia:hosted",
"all-sepolia:decentralized": "yarn clean && yarn prepare:sepolia && yarn gen:sepolia && yarn deploy:sepolia:decentralized",
"all-mumbai:hosted": "yarn clean && yarn prepare:mumbai && yarn gen:mumbai && yarn deploy:mumbai:hosted",
"test": "graph test"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.49.0",
"@graphprotocol/graph-ts": "0.30.0",
"mustache": "^4.2.0"
},
"devDependencies": {
"matchstick-as": "^0.5.2"
},
"version": "0.0.0"
}