forked from balancer/balancer-subgraph-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 3.03 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
74
75
76
77
78
79
80
81
82
{
"name": "balancer",
"version": "0.1.0",
"scripts": {
"create": "graph create balancer-labs/balancer-v2 --node https://api.thegraph.com/deploy/",
"create:local": "graph create balancer-labs/balancer-v2 --node http://127.0.0.1:8020",
"codegen": "yarn generate-manifests && graph codegen --output-dir src/types/",
"build": "graph build",
"lint": "eslint --max-warnings 0 . --ext .ts",
"test": "jest ./test/*.test.ts",
"deploy": "graph deploy balancer-labs/balancer-v2 --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy:kovan": "graph deploy balancer-labs/balancer-kovan-v2 subgraph.kovan.yaml --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy:local": "graph deploy balancer-labs/balancer-v2 subgraph.dockerParity.yaml --debug --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"import-abis": "ts-node ./scripts/update-abis.ts",
"generate-manifests": "ts-node ./scripts/generate-manifests",
"update-addresses": "ts-node ./scripts/update-addresses-subgraph.ts",
"update-addresses:kovan": "yarn update-addresses kovan",
"update-addresses:ropsten": "yarn update-addresses ropsten",
"update-addresses:rinkeby": "yarn update-addresses rinkeby",
"update-addresses:goerli": "yarn update-addresses goerli",
"update-addresses:local": "yarn update-addresses dockerParity",
"sync": "yarn import-abis && yarn update-addresses && yarn codegen && yarn build",
"sync:kovan": "yarn import-abis && yarn update-addresses kovan && yarn codegen && yarn build",
"sync:local": "yarn import-abis && yarn update-addresses dockerParity && yarn codegen && yarn build"
},
"devDependencies": {
"@apollo/client": "^3.3.9",
"@babel/core": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@graphprotocol/graph-cli": "^0.25.0",
"@graphprotocol/graph-ts": "^0.24.1",
"@types/jest": "^26.0.20",
"@types/node": "^16.4.1",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"apollo-client": "^2.6.10",
"assemblyscript": "0.19.10",
"babel-jest": "^26.6.3",
"eslint": "^7.9.0",
"eslint-plugin-mocha-no-only": "^1.1.1",
"eslint-plugin-prettier": "^3.1.4",
"fs-extra": "^10.0.0",
"glob": "^7.1.6",
"handlebars": "^4.7.7",
"jest": "^26.6.3",
"js-yaml": "^4.0.0",
"path": "^0.12.7",
"prettier": "^2.1.2",
"ts-jest": "^26.5.0",
"ts-node": "^10.1.0",
"typescript": "^4.0.2"
},
"dependencies": {
"@assemblyscript/loader": "^0.17.5",
"babel-polyfill": "^6.26.0",
"babel-register": "^6.26.0",
"global": "^4.4.0",
"node-fetch": "^2.6.1"
},
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.test.json"
}
},
"preset": "ts-jest"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
},
"@babel/preset-typescript"
]
]
}
}