Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 3.39 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 3.39 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "dca-subgraph",
"version": "1.0.0",
"license": "",
"contributors": [
{
"name": "Alejo Amiras",
"email": "alejo.amiras@gmail.com",
"url": "https://github.com/alejoamiras"
},
{
"name": "0xged",
"email": "0xged@mean.finance",
"url": "https://github.com/0xged"
},
{
"name": "fiboape",
"email": "fiboape@mean.finance",
"url": "https://github.com/fiboape"
}
],
"scripts": {
"build:arbitrum": "yarn prepare:arbitrum && yarn codegen",
"build:base": "yarn prepare:base && yarn codegen",
"build:base-goerli": "yarn prepare:base-goerli && yarn codegen",
"build:bnb": "yarn prepare:bnb && yarn codegen",
"build:ethereum": "yarn prepare:ethereum && yarn codegen",
"build:gnosis": "yarn prepare:gnosis && yarn codegen",
"build:moonbeam": "yarn prepare:moonbeam && yarn codegen",
"build:optimism": "yarn prepare:optimism && yarn codegen",
"build:polygon": "yarn prepare:polygon && yarn codegen",
"build:rootstock": "yarn prepare:rootstock && yarn codegen",
"codegen": "rm -rf generated && graph codegen",
"deploy:arbitrum": "yarn build:arbitrum && graph deploy --studio dca-v2-yf-arbitrum",
"deploy:base": "yarn build:base && graph deploy --studio dca-v2-yf-base",
"deploy:bnb": "yarn build:bnb && graph deploy --studio dca-v2-yf-bnb",
"deploy:ethereum": "yarn build:ethereum && graph deploy --studio dca-v2-yf-ethereum",
"deploy:gnosis": "yarn build:gnosis && graph deploy --studio dca-v2-yf-gnosis",
"deploy:moonbeam": "yarn build:moonbeam && graph deploy --studio dca-v2-yf-moonbeam",
"deploy:optimism": "yarn build:optimism && graph deploy --studio dca-v2-yf-optimism",
"deploy:polygon": "yarn build:polygon && graph deploy --studio dca-v2-yf-polygon",
"deploy:rootstock": "yarn build:rootstock && graph deploy --studio dca-v2-yf-rootstock",
"lint:check": "prettier --check './**'",
"lint:fix": "sort-package-json && prettier --write './**'",
"prepare": "husky install",
"prepare:arbitrum": "mustache config/arbitrum.json subgraph.template.yaml > subgraph.yaml",
"prepare:base": "mustache config/base.json subgraph.template.yaml > subgraph.yaml",
"prepare:base-goerli": "mustache config/base-goerli.json subgraph.template.yaml > subgraph.yaml",
"prepare:bnb": "mustache config/bnb.json subgraph.template.yaml > subgraph.yaml",
"prepare:ethereum": "mustache config/ethereum.json subgraph.template.yaml > subgraph.yaml",
"prepare:gnosis": "mustache config/gnosis.json subgraph.template.yaml > subgraph.yaml",
"prepare:moonbeam": "mustache config/moonbeam.json subgraph.template.yaml > subgraph.yaml",
"prepare:optimism": "mustache config/optimism.json subgraph.template.yaml > subgraph.yaml",
"prepare:polygon": "mustache config/polygon.json subgraph.template.yaml > subgraph.yaml",
"prepare:rootstock": "mustache config/rootstock.json subgraph.template.yaml > subgraph.yaml",
"release": "standard-version",
"test": "graph test"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.73.0",
"@graphprotocol/graph-ts": "0.35.1",
"mustache": "4.2.0"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"husky": "8.0.3",
"matchstick-as": "0.6.0",
"pinst": "3.0.0",
"prettier": "3.3.0",
"sort-package-json": "2.10.0",
"standard-version": "9.5.0"
}
}