forked from 0xSplits/splits-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 7.82 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
{
"name": "splits-subgraph",
"license": "UNLICENSED",
"scripts": {
"codegen": "graph codegen",
"build": "graph build",
"deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-ethereum",
"deploy:mainnet-testing": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-ethereum-test",
"deploy:goerli": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-goerli",
"deploy:goerli-testing": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-goerli-testing",
"deploy:polygon": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-polygon",
"deploy:mumbai": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-mumbai",
"deploy:opt-goerli": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-opt-goerli",
"deploy:arb-goerli": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-arb-goerli",
"deploy:optimism": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-optimism",
"deploy:arbitrum": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-arbitrum",
"deploy:gnosis": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-gnosis",
"deploy:fantom": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-fantom",
"deploy:avalanche": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-avalanche",
"deploy:bsc": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-bsc",
"deploy:aurora": "graph deploy --node https://api.thegraph.com/deploy/ 0xsplits/splits-subgraph-aurora",
"create-local": "graph create --node http://localhost:8020/ 0xSplits/splits-subgraph",
"remove-local": "graph remove --node http://localhost:8020/ 0xSplits/splits-subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 0xSplits/splits-subgraph",
"prepare:mainnet": "mustache config/mainnet.json schema.template.graphql > schema.graphql && mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml && cp src/ethereum.mapping.ts src/mapping.ts && cp abis/ethereum.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:mainnet-testing": "mustache config/mainnet.json schema.template.graphql > schema.graphql && mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml && cp src/ethereum.mapping.ts src/mapping.ts && cp abis/ethereum.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:goerli": "mustache config/goerli.json schema.template.graphql > schema.graphql && mustache config/goerli.json subgraph.template.yaml > subgraph.yaml && cp src/ethereum.mapping.ts src/mapping.ts && cp abis/ethereum.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:goerli-testing": "mustache config/goerli.json schema.template.graphql > schema.graphql && mustache config/goerli.json subgraph.template.yaml > subgraph.yaml && cp src/ethereum.mapping.ts src/mapping.ts && cp abis/ethereum.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:polygon": "mustache config/polygon.json schema.template.graphql > schema.graphql && mustache config/polygon.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:mumbai": "mustache config/mumbai.json schema.template.graphql > schema.graphql && mustache config/mumbai.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:opt-goerli": "mustache config/opt-goerli.json schema.template.graphql > schema.graphql && mustache config/opt-goerli.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:arb-goerli": "mustache config/arb-goerli.json schema.template.graphql > schema.graphql && mustache config/arb-goerli.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:optimism": "mustache config/optimism.json schema.template.graphql > schema.graphql && mustache config/optimism.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:arbitrum": "mustache config/arbitrum.json schema.template.graphql > schema.graphql && mustache config/arbitrum.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:gnosis": "mustache config/gnosis.json schema.template.graphql > schema.graphql && mustache config/gnosis.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:fantom": "mustache config/fantom.json schema.template.graphql > schema.graphql && mustache config/fantom.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:avalanche": "mustache config/avalanche.json schema.template.graphql > schema.graphql && mustache config/avalanche.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:bsc": "mustache config/bsc.json schema.template.graphql > schema.graphql && mustache config/bsc.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:aurora": "mustache config/aurora.json schema.template.graphql > schema.graphql && mustache config/aurora.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"prepare:canto": "mustache config/canto.json schema.template.graphql > schema.graphql && mustache config/canto.json subgraph.template.yaml > subgraph.yaml && cp src/polygon.mapping.ts src/mapping.ts && cp abis/polygon.SplitMain.json abis/SplitMain.json && graph codegen",
"build-and-deploy-prodnets": "yarn prepare:aurora && yarn build && yarn deploy:aurora && yarn prepare:bsc && yarn build && yarn deploy:bsc && yarn prepare:avalanche && yarn build && yarn deploy:avalanche && yarn prepare:fantom && yarn build && yarn deploy:fantom && yarn prepare:gnosis && yarn build && yarn deploy:gnosis && yarn prepare:arbitrum && yarn build && yarn deploy:arbitrum && yarn prepare:optimism && yarn build && yarn deploy:optimism && yarn prepare:mainnet && yarn build && yarn deploy:mainnet && yarn prepare:polygon && yarn build && yarn deploy:polygon",
"build-and-deploy-testnets": "yarn prepare:arb-goerli && yarn build && yarn deploy:arb-goerli && yarn prepare:opt-goerli && yarn build && yarn deploy:opt-goerli && yarn prepare:goerli && yarn build && yarn deploy:goerli && yarn prepare:mumbai && yarn build && yarn deploy:mumbai",
"build-and-deploy-goerli-testing": "yarn prepare:goerli-testing && yarn build && yarn deploy:goerli-testing",
"build-and-deploy-mainnet-testing": "yarn prepare:mainnet-testing && yarn build && yarn deploy:mainnet-testing"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.27.0",
"@graphprotocol/graph-ts": "0.24.1"
},
"devDependencies": {
"mustache": "^4.2.0"
},
"resolutions": {
"concat-stream": "github:max-mapper/concat-stream#master"
}
}