-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.36 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
{
"name": "@scaffold-eth/subgraph",
"license": "UNLICENSED",
"version": "1.0.0",
"scripts": {
"pretty": "prettier --write src/**/*.*",
"prepare:mainnet": "mustache config/1.json src/subgraph.template.yaml > subgraph.yaml",
"prepare:polygon": "mustache config/137.json src/subgraph.template.yaml > subgraph.yaml",
"codegen": "graph codegen",
"build": "graph build",
"deploy:mainnet": "graph deploy --debug --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ ourz-network/ourz-v1",
"deploy:polygon": "graph deploy --debug --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ ourz-network/ourz-v1-polygon",
"create-local": "graph create --node http://localhost:8020/ scaffold-eth/your-contract",
"remove-local": "graph remove --node http://localhost:8020/ scaffold-eth/your-contract",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 scaffold-eth/your-contract",
"prepare": "husky install"
},
"dependencies": {
"@assemblyscript/loader": "^0.19.17",
"@graphprotocol/graph-ts": "^0.22.1",
"assemblyscript": "^0.19.17",
"assemblyscript-json": "^1.1.0"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.22.3",
"@types/react": "^17.0.30",
"husky": "^7.0.2",
"mustache": "^4.2.0",
"prettier": "^2.4.1"
}
}