-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 2.64 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
{
"name": "@quest-chains/subgraph",
"version": "0.1.0",
"license": "GPL-3.0",
"devDependencies": {
"@graphprotocol/graph-cli": "0.71.1",
"@graphprotocol/graph-ts": "0.35.1",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mustache": "^4.2.0",
"prettier": "^3.2.5"
},
"scripts": {
"auth": "graph auth",
"build": "graph build",
"clean": "rm -rf src/types build",
"codegen": "yarn clean && graph codegen --output-dir src/types/",
"format": "prettier --write \"{*,**/*}.{json,yml,yaml,md,ts}\"",
"create-local": "graph create --node http://localhost:8020/ test/quest-chains",
"remove-local": "graph remove --node http://localhost:8020/ test/quest-chains",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 test/quest-chains",
"prepare-gnosis": "mustache src/config/gnosis.json subgraph.template.yaml > subgraph.yaml",
"deploy-only-gnosis": "graph deploy --product subgraph-studio quest-chains-gnosis",
"deploy-gnosis": "yarn prepare-gnosis && yarn codegen && yarn build && yarn deploy-only-gnosis",
"prepare-polygon": "mustache src/config/polygon.json subgraph.template.yaml > subgraph.yaml",
"deploy-only-polygon": "graph deploy --product subgraph-studio gquest-chains-polygon",
"deploy-polygon": "yarn prepare-polygon && yarn codegen && yarn build && yarn deploy-only-polygon",
"prepare-arbitrum": "mustache src/config/arbitrum.json subgraph.template.yaml > subgraph.yaml",
"deploy-only-arbitrum": "graph deploy --product subgraph-studio quest-chains-arbitrum",
"deploy-arbitrum": "yarn prepare-arbitrum && yarn codegen && yarn build && yarn deploy-only-arbitrum",
"prepare-optimism": "mustache src/config/optimism.json subgraph.template.yaml > subgraph.yaml",
"deploy-only-optimism": "graph deploy --product subgraph-studio quest-chains-optimism",
"deploy-optimism": "yarn prepare-optimism && yarn codegen && yarn build && yarn deploy-only-optimism",
"prepare-sepolia": "mustache src/config/sepolia.json subgraph.template.yaml > subgraph.yaml",
"deploy-only-sepolia": "graph deploy --product subgraph-studio quest-chains-sepolia",
"deploy-sepolia": "yarn prepare-sepolia && yarn codegen && yarn build && yarn deploy-only-sepolia",
"prepare-holesky": "mustache src/config/holesky.json subgraph.template.yaml > subgraph.yaml",
"deploy-only-holesky": "graph deploy --product subgraph-studio quest-chains-holesky",
"deploy-holesky": "yarn prepare-holesky && yarn codegen && yarn build && yarn deploy-only-holesky",
"prepare": "husky"
},
"lint-staged": {
"*.{json,yml,yaml,md,ts}": [
"prettier --write"
]
}
}