-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 2.4 KB
/
Copy pathpackage.json
File metadata and controls
41 lines (41 loc) · 2.4 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
{
"name": "@winzeland/subgraph",
"version": "0.1",
"description": "Subgraph for Winzeland",
"main": "index.js",
"repository": "git@github.com:winzeland/subgraph.git",
"author": "Rytis Grincevičius <rytis.grincevicius@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
"create": "graph create winzeland/subgraph --node https://api.thegraph.com/deploy/",
"codegen": "graph codegen",
"build": "graph build",
"prepare:matic": "mustache config/matic.json subgraph.template.yaml > subgraph.yaml && mustache config/matic.json src/network.template.ts > src/network.ts",
"prepare:mumbai": "mustache config/mumbai.json subgraph.template.yaml > subgraph.yaml && mustache config/mumbai.json src/network.template.ts > src/network.ts",
"prepare:rinkeby": "mustache config/rinkeby.json subgraph.template.yaml > subgraph.yaml && mustache config/rinkeby.json src/network.template.ts > src/network.ts",
"prepare:local": "mustache config/local.json subgraph.template.yaml > subgraph.yaml && mustache config/local.json src/network.template.ts > src/network.ts",
"zeppelin": "npx graph-compiler --config config/zeppelin.json --include ./node_modules/@openzeppelin/subgraphs/src/datasources --export-schema --export-subgraph",
"deploy:rinkeby": "graph deploy --studio winzeland-rinkeby",
"deploy:mumbai": "graph deploy --product hosted-service winzeland/mumbai",
"deploy:matic": "graph deploy --product hosted-service winzeland/matic",
"deploy": "graph deploy winzeland/subgraph --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"create-local": "graph create winzeland/subgraph --node http://127.0.0.1:8020",
"deploy-local": "graph deploy winzeland/subgraph --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"remove-local": "graph remove --ipfs http://localhost:5001 --node http://localhost:8020/ winzeland/subgraph",
"codegen:local": "yarn prepare:local && yarn codegen",
"dev": "yarn prepare:local && yarn codegen:local && yarn deploy-local -- --version-label v0.0.1"
},
"devDependencies": {
"@amxx/graphprotocol-utils": "^1.1.0-alpha.2",
"@graphprotocol/graph-cli": "^0.25.3",
"@graphprotocol/graph-ts": "^0.24.1",
"@openzeppelin/contracts": "^4.5.0",
"@openzeppelin/subgraphs": "^0.1.7-1",
"mustache": "^4.2.0"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"babel-register": "^6.26.0"
}
}