-
Notifications
You must be signed in to change notification settings - Fork 148
/
package.json
39 lines (39 loc) · 1.5 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
{
"name": "maci-subgraph",
"version": "2.5.0",
"description": "A subgraph to index data from MACI protocol to serve as data layer for frontend integration",
"private": false,
"files": [
"build",
"schemas",
"config",
"templates",
"README.md"
],
"scripts": {
"precodegen": "rm -rf ./generated && pnpm generate:schema && pnpm generate:yaml",
"codegen": "graph codegen",
"generate:yaml": "mustache ./config/${NETWORK:-network}.json ./templates/subgraph.template.yaml > subgraph.yaml",
"generate:schema": "cp ./schemas/schema.${VERSION:-v1}.graphql schema.graphql",
"prebuild": "pnpm codegen",
"build": "graph build",
"deploy": "graph deploy --node https://api.studio.thegraph.com/deploy/ maci-subgraph",
"create-local": "graph create --node http://localhost:8020/ maci-subgraph",
"remove-local": "graph remove --node http://localhost:8020/ maci-subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 maci-subgraph --network localhost",
"deploy:mainnet": "graph deploy --node https://api.studio.thegraph.com/deploy/ maci-subgraph --network mainnet",
"test": "graph test",
"test:coverage": "graph test && graph test -c"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.88.0",
"@graphprotocol/graph-ts": "^0.35.1",
"maci-contracts": "^2.5.0"
},
"devDependencies": {
"assemblyscript": "0.19.23",
"matchstick-as": "^0.6.0",
"mustache": "^4.2.0",
"wabt": "^1.0.36"
}
}