forked from quest-chains/subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 3.75 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 3.75 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
{
"name": "@dacademy/subgraph",
"version": "0.2.2",
"license": "GPL-3.0",
"devDependencies": {
"@as-pect/cli": "^8.1.0",
"@graphprotocol/graph-cli": "^0.97.0",
"@graphprotocol/graph-ts": "^0.36.0",
"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",
"config-op-sepolia": "mustache src/config/op-sepolia.json subgraph.template.yaml > subgraph.op-sepolia.yaml",
"codegen-op-sepolia": "yarn codegen subgraph.op-sepolia.yaml",
"deploy-op-sepolia": "graph deploy dacademy-optimism-sepolia subgraph.op-sepolia.yaml",
"op-sepolia-all": "yarn config-op-sepolia && yarn codegen-op-sepolia && yarn deploy-op-sepolia",
"config-localhost": "mustache src/config/localhost.json subgraph.template.yaml > subgraph.localhost.yaml",
"create-localhost": "graph create --node http://localhost:8020/ dacademy-localhost",
"deploy-localhost": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 dacademy-localhost subgraph.localhost.yaml",
"config-and-deploy-localhost": "yarn config-localhost && yarn codegen subgraph.localhost.yaml && yarn deploy-localhost",
"prepare": "husky",
"as:lint": "asp --verbose"
},
"lint-staged": {
"*.{json,yml,yaml,md,ts}": [
"prettier --write"
]
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
"dependencies": {
"source-map-support": "^0.5.21"
}
}