-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 3.41 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "erc20-subgraph",
"version": "1.0.0",
"license": "MIT",
"author": "Daniel Liu",
"description": "The subgraph for ERC20",
"main": "",
"keywords": [
"BlockChain",
"Ethereum",
"Apothem",
"XinFin",
"Mumbai",
"Polygon",
"Solidity",
"Smart Contract",
"ERC20",
"Typescript",
"GraphQL",
"The graph",
"Subgraph"
],
"homepage": "https://github.com/gzliudan/erc20-subgraph",
"repository": {
"type": "git",
"url": "git+https://github.com/gzliudan/erc20-subgraph"
},
"bugs": {
"url": "https://github.com/gzliudan/erc20-subgraph/issues",
"email": "liudaniel@qq.com"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.6.0",
"yarn": ">=1.22.0"
},
"scripts": {
"clean": "rm -rf build/ generated/",
"prepare:apothem": "mustache networks/apothem.json subgraph.template.yaml subgraph.apothem.yaml && node scripts/xdc subgraph.apothem.yaml",
"prepare:xinfin": "mustache networks/xinfin.json subgraph.template.yaml subgraph.xinfin.yaml && node scripts/xdc subgraph.xinfin.yaml",
"prepare:mumbai": "mustache networks/mumbai.json subgraph.template.yaml subgraph.mumbai.yaml",
"prepare:polygon": "mustache networks/polygon.json subgraph.template.yaml subgraph.polygon.yaml",
"codegen:apothem": "graph codegen --output-dir generated subgraph.apothem.yaml",
"codegen:xinfin": "graph codegen --output-dir generated subgraph.xinfin.yaml",
"codegen:mumbai": "graph codegen --output-dir generated subgraph.mumbai.yaml",
"codegen:polygon": "graph codegen --output-dir generated subgraph.polygon.yaml",
"make:apothem": "yarn clean && yarn prepare:apothem && yarn codegen:apothem",
"make:xinfin": "yarn clean && yarn prepare:xinfin && yarn codegen:xinfin",
"make:mumbai": "yarn clean && yarn prepare:mumbai && yarn codegen:mumbai",
"make:polygon": "yarn clean && yarn prepare:polygon && yarn codegen:polygon",
"create:apothem": "graph create --node http://graph-node:8020 gzliudan/test-coin-subgraph-apothem",
"create:xinfin": "graph create --node http://graph-node:8020 gzliudan/test-coin-subgraph-xinfin",
"remove:apothem": "graph remove --node http://graph-node:8020 gzliudan/test-coin-subgraph-apothem",
"remove:xinfin": "graph remove --node http://graph-node:8020 gzliudan/test-coin-subgraph-xinfin",
"deploy:apothem": "graph deploy --node http://graph-node:8020 --ipfs http://graph-node:5001 --version-label v0.0.1 gzliudan/test-coin-subgraph-apothem subgraph.apothem.yaml",
"deploy:xinfin": "graph deploy --node http://graph-node:8020 --ipfs http://graph-node:5001 --version-label v0.0.1 gzliudan/test-coin-subgraph-xinfin subgraph.xinfin.yaml",
"deploy:mumbai": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ gzliudan/test-coin-mumbai subgraph.mumbai.yaml",
"deploy:polygon": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ gzliudan/test-coin-polygon subgraph.polygon.yaml"
},
"devDependencies": {
"@amxx/graphprotocol-utils": "^1.1.0",
"@graphprotocol/graph-cli": "^0.67.3",
"@graphprotocol/graph-ts": "^0.32.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"mustache": "^4.2.0",
"prettier": "^3.2.5"
}
}