forked from salazarguille/yearn-vaults-v2-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
66 lines (65 loc) · 3.98 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "yearn-vaults-v2-subgraph",
"version": "0.1.0",
"private": false,
"license": "MIT",
"scripts": {
"codegen": "graph codegen",
"build:mainnet": "yarn prepare:mainnet && yarn codegen && graph build",
"build:fantom": "yarn prepare:fantom && yarn codegen && graph build",
"build:arbitrum": "yarn prepare:arbitrum && yarn codegen && graph build",
"build:optimism": "yarn prepare:optimism && yarn codegen && graph build",
"thegraph:deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ rareweasel/yearn-vaults-v2-subgraph-mainnet",
"thegraph:deploy:fantom": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ yearn/yearn-vaults-v2-fantom",
"thegraph:deploy:arbitrum": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ yearn/yearn-vaults-v2-arbitrum",
"thegraph:deploy:optimism": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ yearn/yearn-vaults-v2-optimism",
"create-local:mainnet": "graph create --node http://127.0.0.1:8020/ yearn-vaults-v2/mainnet",
"create-local:fantom": "graph create --node http://127.0.0.1:8020/ yearn-vaults-v2/fantom",
"create-local:arbitrum": "graph create --node http://127.0.0.1:8020/ yearn-vaults-v2/arbitrum",
"create-local": "yarn create-local:mainnet && yarn create-local:fantom && yarn create-local:arbitrum",
"remove-local:mainnet": "graph remove --node http://127.0.0.1:8020/ yearn-vaults-v2/mainnet",
"remove-local:fantom": "graph remove --node http://127.0.0.1:8020/ yearn-vaults-v2/fantom",
"remove-local:arbitrum": "graph remove --node http://127.0.0.1:8020/ yearn-vaults-v2/arbitrum",
"remove-local": "yarn remove-local:mainnet && yarn remove-local:fantom && yarn remove-local:arbitrum",
"deploy-local:mainnet": "yarn build:mainnet && graph deploy --node http://127.0.0.1:8020/ --ipfs http://localhost:5001 yearn-vaults-v2/mainnet",
"deploy-local:fantom": "yarn build:fantom && graph deploy --node http://127.0.0.1:8020/ --ipfs http://localhost:5001 yearn-vaults-v2/fantom",
"deploy-local:arbitrum": "yarn build:arbitrum && graph deploy --node http://127.0.0.1:8020/ --ipfs http://localhost:5001 yearn-vaults-v2/arbitrum",
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"prepare:fantom": "mustache config/fantom.json subgraph.template.yaml > subgraph.yaml",
"prepare:arbitrum": "mustache config/arbitrum.json subgraph.template.yaml > subgraph.yaml",
"prepare:optimism": "mustache config/optimism.json subgraph.template.yaml > subgraph.yaml",
"deploy:mainnet": "yarn build:mainnet && yarn thegraph:deploy:mainnet",
"deploy:fantom": "yarn build:fantom && yarn thegraph:deploy:fantom",
"deploy:arbitrum": "yarn build:arbitrum && yarn thegraph:deploy:arbitrum",
"deploy:optimism": "yarn build:optimism && yarn thegraph:deploy:optimism",
"release": "standard-version",
"test": "yarn clean && yarn codegen && graph test -v 0.5.0",
"coverage": "graph test -v 0.4.0 --coverage",
"lint:check": "prettier --check './**'",
"lint:fix": "sort-package-json && prettier --write ./**",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"clean": "rm -rf ./build && rm -rf ./tests/.bin && rm -rf ./generated"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.33.1",
"@graphprotocol/graph-ts": "0.27.0",
"matchstick-as": "0.5.0",
"mustache": "4.1.0",
"typescript": "^4.5.2",
"web3-eth": "^1.6.1"
},
"devDependencies": {
"@commitlint/cli": "12.0.1",
"@commitlint/config-conventional": "12.0.1",
"husky": "5.1.3",
"pinst": "2.1.6",
"prettier": "2.2.1",
"sort-package-json": "1.49.0",
"standard-version": "9.1.1"
},
"//": [
"graph-cli, graph-ts, and matchstick-as often have breaking changes in their minor versions, so they are pinned."
]
}