forked from yearn/yearn-vaults-v2-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 2.38 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": "yearn-vaults-v2-subgraph",
"version": "0.0.0",
"private": false,
"license": "MIT",
"scripts": {
"codegen": "graph codegen",
"build:kovan": "yarn prepare:kovan && graph build",
"build:rinkeby": "yarn prepare:rinkeby && graph build",
"build:mainnet": "yarn prepare:mainnet && graph build",
"thegraph:deploy:kovan": "yarn build:kovan && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ salazarguille/yearn-vaults-v2-subgraph-kovan",
"thegraph:deploy:rinkeby": "yarn build:rinkeby && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ salazarguille/yearn-vaults-v2-subgraph-rinkeby",
"thegraph:deploy:mainnet": "yarn build:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ salazarguille/yearn-vaults-v2-subgraph-mainnet",
"create-local": "graph create --node http://127.0.0.1:8020/ yearn-vaults-v2/subgraph",
"remove-local": "graph remove --node http://127.0.0.1:8020/ yearn-vaults-v2/subgraph",
"deploy-local": "yarn build:mainnet && graph deploy --node http://127.0.0.1:8020/ --ipfs http://localhost:5001 yearn-vaults-v2/subgraph",
"prepare:kovan": "mustache config/kovan.json subgraph.template.yaml > subgraph.yaml",
"prepare:rinkeby": "mustache config/rinkeby.json subgraph.template.yaml > subgraph.yaml",
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"deploy:kovan": "yarn prepare:kovan && yarn build:kovan && yarn thegraph:deploy:kovan",
"deploy:rinkeby": "yarn prepare:rinkeby && yarn build:rinkeby && yarn thegraph:deploy:rinkeby",
"release": "standard-version",
"deploy:mainnet": "yarn prepare:mainnet && yarn build:mainnet && yarn thegraph:deploy:mainnet",
"lint:check": "prettier --check './**'",
"lint:fix": "sort-package-json && prettier --write './**'",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.21.0",
"@graphprotocol/graph-ts": "0.20.1",
"mustache": "4.1.0"
},
"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"
}
}