-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
21 lines (21 loc) · 1 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": "debt-dao",
"license": "UNLICENSED",
"scripts": {
"prebuild": "graph codegen",
"build": "graph build --network ",
"predeploy-test": "yarn run build goerli",
"deploy-test": "source .env && graph deploy --product hosted-service -- $DEV_SUBGRAPH_URL",
"build-mainnet": "source .env && yarn build mainnet",
"deploy-mainnet": "rm subgraph.yaml && cp subgraph.mainnet.yaml subgraph.yaml; graph deploy $PROD_SUBGRAPH_URL",
"deploy-live": "source .env && yarn run build mainnet && graph deploy --studio $PROD_SUBGRAPH_STUDIO --network mainnet",
"create-local": "graph create --node http://localhost:8020/ -- $SUBGRAPH_URL",
"remove-local": "graph remove --node http://localhost:8020/ -- $SUBGRAPH_URL",
"deploy-local": "graph deploy --node http://localhost:8020/ -- $SUBGRAPH_URL",
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ -- $SUBGRAPH_URL"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.29.2",
"@graphprotocol/graph-ts": "0.26.0"
}
}