-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
31 lines (31 loc) · 2.02 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
{
"name": "renvm",
"license": "MIT",
"scripts": {
"build": "graph build",
"prepare": "mustache ./config/${NETWORK:=-testnet}.json ${SUBGRAPH_TEMPLATE:=subgraph}.template.yaml > subgraph.yaml && mustache ./config/${NETWORK:=-testnet}.json src/_config.template.yaml > src/_config.ts",
"codegen": "yarn run prepare && graph codegen --output-dir ./generated",
"deploy-remote": "yarn run codegen && yarn run build && graph deploy --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ --deploy-key 5e29ea01508a42d7b517186e8cc830a3 --access-token 5e29ea01508a42d7b517186e8cc830a3 ${NAME:-null}",
"create:local": "graph create --node http://localhost:8020/ renproject/renvm",
"create:local-testnet": "graph create --node http://localhost:8020/ renproject/renvm-testnet",
"deploy:local": "yarn run codegen && graph deploy --ipfs http://localhost:5001 --node http://localhost:8020/ ${NAME:-renproject/renvm}",
"deploy:mainnet": "SUBGRAPH_TEMPLATE=subgraph-full NETWORK=mainnet NAME=renproject/renvm yarn run deploy-remote",
"deploy:fantom": "NETWORK=fantom NAME=renproject/renvm-fantom yarn run deploy-remote",
"deploy:arbitrum": "NETWORK=arbitrum NAME=renproject/renvm-arbitrum yarn run deploy-remote",
"deploy:avalanche": "NETWORK=avalanche NAME=renproject/renvm-avalanche yarn run deploy-remote",
"deploy:bsc": "NETWORK=bsc NAME=renproject/renvm-binance-smart-chain yarn run deploy-remote",
"deploy:polygon": "NETWORK=polygon NAME=renproject/renvm-polygon yarn run deploy-remote",
"deploy:testnet": "SUBGRAPH_TEMPLATE=subgraph-full NETWORK=testnet NAME=renproject/renvm-testnet yarn run deploy-remote",
"deploy:devnet": "NETWORK=devnet NAME=noiach/renvm-devnet yarn run deploy-remote"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.19.0",
"@graphprotocol/graph-ts": "0.18.1"
},
"devDependencies": {
"mustache": "^4.0.1"
},
"prettier": {
"tabWidth": 4
}
}