-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 2.04 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
40
41
42
43
{
"name": "@pods-finance/subgraph",
"description": "A hybrid networking SDK for future Pods apps and integrations",
"version": "1.0.0",
"author": "Pods Finance",
"bugs": {
"url": "https://github.com/pods-finance/subgraph/issues",
"email": "tech@pods.finance"
},
"contributors": [
"Razvan Gabriel Apostu <razvan@pods.finance>"
],
"dependencies": {
"@graphprotocol/graph-cli": "0.22.2",
"global": "^4.4.0"
},
"devDependencies": {
"@graphprotocol/graph-ts": "^0.22.1",
"mustache": "^4.2.0",
"typescript": "^4.2.4"
},
"license": "UNLICENSED",
"scripts": {
"build": "graph build",
"cleanup": "rm -rf src/constants/_generated/*",
"codegen": "graph codegen",
"configure": "yarn cleanup && tsc src/constants/addresses/$VARIANT.ts --outDir src/constants/_generated",
"deploy": "graph deploy pods-finance/$NAME --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy:arbitrum": "VARIANT=arbitrum yarn setup && NAME=pods-arbitrum yarn deploy",
"deploy:avalanche": "VARIANT=avalanche yarn setup && NAME=pods-avalanche yarn deploy",
"deploy:bsc": "VARIANT=bsc yarn setup && NAME=pods-bsc yarn deploy",
"deploy:experimental": "VARIANT=experimental yarn setup && NAME=pods-experimental yarn deploy",
"deploy:fantom": "VARIANT=fantom yarn setup && NAME=pods-fantom yarn deploy",
"deploy:goerli": "VARIANT=goerli yarn setup && NAME=pods-goerli yarn deploy",
"deploy:kovan": "VARIANT=kovan yarn setup && NAME=pods-kovan yarn deploy",
"deploy:mainnet": "VARIANT=mainnet yarn setup && NAME=pods yarn deploy",
"deploy:matic": "VARIANT=matic yarn setup && NAME=pods-matic yarn deploy",
"deploy:optimism": "VARIANT=optimism yarn setup && NAME=pods-optimism yarn deploy",
"setup": "yarn configure && yarn template",
"template": "mustache src/constants/_generated/$VARIANT.js subgraph.template.yaml > subgraph.yaml && mustache src/constants/_generated/$VARIANT.js src/constants/env.mustache > src/constants/_generated/env.ts",
"tsc": "tsc"
}
}