-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
44 lines (44 loc) · 2.61 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
44
{
"name": "kalidao-subgraph",
"version": "0.0.3",
"description": "Here lies the subgraph of KALI",
"license": "GPL-3.0-or-later",
"scripts": {
"auth": "graph auth --product hosted-service d9735495bc3ad7a45f9c606cbfce68c2",
"auth:studio": "graph auth --studio $GRAPH_STUDIO_DEPLOYKEY",
"codegen": "graph codegen",
"build": "graph build",
"lint": "eslint . --ext .ts",
"format": "prettier --write \"**/*.{ts,tsx,md,js,mjs,json}\"",
"deploy": "graph deploy --node https://api.studio.thegraph.com/deploy/ kalidao",
"deploy:studio": "graph deploy --studio $GRAPH_STUDIO_PROJECT",
"create-local": "graph create --node http://localhost:8020/ kalidao",
"remove-local": "graph remove --node http://localhost:8020/ kalidao",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 kalidao",
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"prepare:polygon": "mustache config/polygon.json subgraph.template.yaml > subgraph.yaml",
"prepare:arbitrum": "mustache config/arbitrum.json subgraph.template.yaml > subgraph.yaml",
"prepare:optimism": "mustache config/optimism.json subgraphV2.template.yaml > subgraph.yaml",
"prepare:goerli": "mustache config/goerli.json subgraphV2.template.yaml > subgraph.yaml",
"prepare:gnosis": "mustache config/gnosis.json subgraphV2.template.yaml > subgraph.yaml",
"deploy-mainnet": "yarn prepare:mainnet && graph codegen && graph build && graph deploy --product hosted-service nerderlyne/kali-mainnet",
"deploy-arbitrum": "yarn prepare:arbitrum && graph codegen && graph build && graph deploy --product hosted-service nerderlyne/kali-arbitrum",
"deploy-polygon": "yarn prepare:polygon && graph codegen && graph build && graph deploy --product hosted-service nerderlyne/kali-matic",
"deploy-optimism": "yarn prepare:optimism && graph codegen && graph build && graph deploy --product hosted-service nerderlyne/kali-optimism",
"deploy-goerli": "yarn prepare:goerli && graph codegen && graph build && graph deploy --product hosted-service nerderlyne/kali-goerli",
"deploy-gnosis": "yarn prepare:gnosis && graph codegen && graph build && graph deploy --product hosted-service nerderlyne/kali-gnosis"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.36.1",
"@graphprotocol/graph-ts": "0.29.0",
"ganache-cli": "^6.12.2",
"mustache": "^4.2.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"eslint": "^8.9.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1"
}
}