-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
39 lines (39 loc) · 2.58 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
{
"name": "treejer-subgraph",
"version": "1.0.0",
"scripts": {
"build-contract": "solc contracts/Gravity.sol --abi -o abis --overwrite && solc contracts/Gravity.sol --bin -o bin --overwrite",
"create": "graph create treejer/treejer-subgraph --node https://api.thegraph.com/deploy/",
"create-local": "graph create treejer/treejer-subgraph --node http://127.0.0.1:8020",
"codegen": "graph codegen",
"build": "graph build",
"deploy": "graph deploy treejer/treejer-subgraph --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"windeploy": "graph.cmd deploy --studio subgraph",
"deploy-lagecy": "graph.cmd deploy --product hosted-service treejer/Treejerv1",
"deploy-local": "graph deploy treejer/treejer-subgraph --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"watch-local": "graph deploy treejer/treejer-subgraph --watch --debug --node http://127.0.0.1:8020/ --ipfs http://localhost:5001",
"prepare:matic": "mustache config/matic.json subgraph.template.yaml > subgraph.yaml",
"prepare:matictest": "mustache config/matictest.json subgraph.template.yaml > subgraph.yaml",
"prepare:rinkeby": "mustache config/rinkeby.json subgraph.template.yaml > subgraph.yaml",
"prepare:goerli": "mustache config/goerli.json subgraph.template.yaml > subgraph.yaml",
"deploy:matic": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ treejer/treejer-subgraph",
"deploy:rinkeby": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ treejer/treejer-subgraph-rinkeby",
"deploy:goerli": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ treejer/treejer-subgraph-goerli",
"deploy:matictest": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ treejer/treejer-subgraph-mprivate",
"build-deploy:matic": "npm run prepare:matic; npm run codegen; npm run build; npm run deploy:matic; rm subgraph.yaml",
"build-deploy:rinkeby": "npm run prepare:rinkeby; npm run codegen; npm run build; npm run deploy:rinkeby; rm subgraph.yaml",
"build-deploy:goerli": "npm run prepare:goerli; npm run codegen; npm run build; npm run deploy:goerli; rm subgraph.yaml"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.29.0",
"@graphprotocol/graph-ts": "^0.26.0"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"babel-register": "^6.26.0",
"mustache": "^4.2.0",
"truffle": "^5.0.4",
"truffle-contract": "^4.0.5",
"truffle-hdwallet-provider": "^1.0.4"
}
}