-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
33 lines (33 loc) · 2.54 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
{
"name": "gamma-subgraph",
"license": "UNLICENSED",
"scripts": {
"codegen": "graph codegen",
"build": "graph build",
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"prepare:mainnet-internal": "mustache config/mainnet-internal.json subgraph.template.yaml > subgraph.yaml",
"prepare:kovan": "mustache config/kovan.json subgraph.template.yaml > subgraph.yaml",
"prepare:kovan-internal": "mustache config/kovan-internal.json subgraph.template.yaml > subgraph.yaml",
"prepare:ropsten": "mustache config/ropsten.json subgraph.template.yaml > subgraph.yaml",
"prepare:ropsten-internal": "mustache config/ropsten-internal.json subgraph.template.yaml > subgraph.yaml",
"prepare:arbitrum": "mustache config/arbitrum-one.json subgraph.template.yaml > subgraph.yaml",
"prepare:avax": "mustache config/avax.json subgraph.template.yaml > subgraph.yaml",
"prepare:matic": "mustache config/matic.json subgraph.template.yaml > subgraph.yaml",
"deploy:mainnet": "npm run prepare:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ opynfinance/gamma-mainnet",
"deploy:mainnet-internal": "npm run prepare:mainnet-internal && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ opynfinance/playground",
"deploy:kovan": "npm run prepare:kovan && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ opynfinance/gamma-kovan",
"deploy:kovan-internal": "npm run prepare:kovan-internal && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ opynfinance/gamma-internal-kovan",
"deploy:ropsten": "npm run prepare:ropsten && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ opynfinance/gamma-ropsten",
"deploy:ropsten-internal": "npm run prepare:ropsten-internal && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ opynfinance/gamma-internal-ropsten",
"deploy:arbitrum": "npm run prepare:arbitrum && graph deploy --product hosted-service opynfinance/gamma-arbitrum-one",
"deploy:avax": "npm run prepare:avax && graph deploy --product hosted-service opynfinance/gamma-avax",
"deploy:matic": "npm run prepare:matic && graph deploy --product hosted-service opynfinance/gamma-matic"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.18.0",
"@graphprotocol/graph-ts": "0.18.0"
},
"devDependencies": {
"mustache": "^4.0.1"
}
}