-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
21 lines (21 loc) · 1.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "impermax-x-uniswap-v2-subgraph",
"license": "UNLICENSED",
"scripts": {
"codegen": "graph codegen --output-dir src/types/",
"build": "graph build",
"prepare:mainnet": "mustache network/mainnet.json subgraph.template.yaml > subgraph.yaml && mustache network/mainnet.json src/mappings/constants.template.ts > src/mappings/constants.ts",
"prepare:ropsten": "mustache network/ropsten.json subgraph.template.yaml > subgraph.yaml && mustache network/ropsten.json src/mappings/constants.template.ts > src/mappings/constants.ts",
"prepare:polygon": "mustache network/matic.json subgraph.template.yaml > subgraph.yaml && mustache network/matic.json src/mappings/constants.template.ts > src/mappings/constants.ts",
"deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ impermax-finance/impermax-x-uniswap-v2",
"deploy:ropsten": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ impermax-finance/impermax-x-uniswap-v2-ropsten",
"deploy:polygon": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ impermax-finance/impermax-x-uniswap-v2-polygon",
"create-local": "graph create --node http://localhost:8020/ impermax-finance/impermax-x-uniswap-v2",
"remove-local": "graph remove --node http://localhost:8020/ impermax-finance/impermax-x-uniswap-v2",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 impermax-finance/impermax-x-uniswap-v2"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.20.0",
"@graphprotocol/graph-ts": "0.20.0"
}
}