-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
28 lines (28 loc) · 1.71 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
{
"name": "orgid-subgraph",
"version": "1.2.0",
"description": "The ORGiD subgraph maps the ORGiD Contract with events in GraphQL",
"license": "GPL-3.0-only",
"scripts": {
"prepare:ropsten": "mustache config/ropsten.json subgraph.template.yaml > subgraph.yaml && mustache config/ropsten.json src/constants.template.ts > src/constants.ts",
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml && mustache config/mainnet.json src/constants.template.ts > src/constants.ts",
"codegen:graph": "graph codegen",
"import:abi": "node ./scripts/importAbi.js",
"codegen:ropsten": "yarn prepare:ropsten && yarn import:abi && yarn codegen:graph",
"codegen:mainnet": "yarn prepare:mainnet && yarn import:abi && yarn codegen:graph",
"build": "graph build",
"deploy:ropsten": "yarn codegen:ropsten && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ windingtree/orgid-subgraph-ropsten",
"deploy:mainnet": "yarn codegen:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ windingtree/orgid-subgraph",
"deploy": "yarn deploy:ropsten && yarn deploy:mainnet",
"create-local": "graph create --node http://localhost:8020/ windingtree/orgid-subgraph",
"remove-local": "graph remove --node http://localhost:8020/ windingtree/orgid-subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 windingtree/orgid-subgraph"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.19.0",
"@graphprotocol/graph-ts": "0.19.0",
"@windingtree/org.id": "1.1.5",
"@windingtree/org.id-directories": "1.0.0",
"mustache": "4.1.0"
}
}