-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
55 lines (55 loc) · 4.27 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
{
"name": "lido-subgraph",
"license": "MIT",
"scripts": {
"codegen": "rm -rf ./generated && graph codegen && node genParserData.js",
"build": "graph build --network mainnet",
"build-testnet": "graph build --network goerli",
"build-holesky": "graph build --network holesky",
"test": "yarn test:errors && yarn test:sync && yarn test:withoutStatus",
"test:hosted": "yarn test:errors && yarn test:sync && yarn test:withoutStatus --testPathIgnorePatterns addressShares balances",
"test:withoutStatus": "NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns isSynced isErrored",
"test:sync": "NODE_OPTIONS=--experimental-vm-modules jest tests/isSynced.test.js",
"test:errors": "NODE_OPTIONS=--experimental-vm-modules jest tests/isNotErrored.test.js",
"test:totals": "yarn test:sync && NODE_OPTIONS=--experimental-vm-modules jest tests/totalPooledEth.test.js tests/totalShares.test.js",
"test:dust": "NODE_OPTIONS=--experimental-vm-modules jest tests/noWrongDust.test.js",
"test:graphBalance": "NODE_OPTIONS=--experimental-vm-modules yarn jest --testMatch='**/tests/graphBalance.test.off.js'",
"test:smoke": "NODE_OPTIONS=--experimental-vm-modules jest tests/smoke.test.js",
"unit-test": "graph test",
"deploy": "graph deploy --product hosted-service --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ lidofinance/lido --network mainnet",
"deploy-testnet": "graph deploy --product hosted-service --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ lidofinance/lido-testnet --network goerli",
"create-local": "env-cmd --use-shell graph create --node '$GRAPH_NODE' lidofinance/lido",
"remove-local": "env-cmd --use-shell graph remove --node '$GRAPH_NODE' lidofinance/lido",
"deploy-local": "env-cmd --use-shell graph deploy --node '$GRAPH_NODE' --ipfs '$GRAPH_IPFS' lidofinance/lido --network mainnet",
"create-local-testnet": "env-cmd --use-shell graph create --node '$GRAPH_NODE' lidofinance/lido-testnet",
"remove-local-testnet": "env-cmd --use-shell graph remove --node '$GRAPH_NODE' lidofinance/lido-testnet",
"deploy-local-testnet": "env-cmd --use-shell graph deploy --node '$GRAPH_NODE' --ipfs '$GRAPH_IPFS' lidofinance/lido-testnet --network goerli",
"create-local-holesky": "env-cmd --use-shell graph create --node '$GRAPH_NODE' lidofinance/lido-holesky",
"remove-local-holesky": "env-cmd --use-shell graph remove --node '$GRAPH_NODE' lidofinance/lido-holesky",
"deploy-local-holesky": "env-cmd --use-shell graph deploy --node '$GRAPH_NODE' --ipfs '$GRAPH_IPFS' lidofinance/lido-holesky --network holesky",
"create-lido-testnet": "env-cmd --use-shell graph create --access-token '$AUTH_TOKEN_TESTNET' --node '$GRAPH_NODE_TESTNET' lidofinance/lido-testnet",
"remove-lido-testnet": "env-cmd --use-shell graph remove --access-token '$AUTH_TOKEN_TESTNET' --node '$GRAPH_NODE_TESTNET' lidofinance/lido-testnet",
"deploy-lido-testnet": "env-cmd --use-shell graph deploy --access-token '$AUTH_TOKEN_TESTNET' --node '$GRAPH_NODE_TESTNET' --ipfs '$GRAPH_IPFS_TESTNET' --headers '$IPFS_AUTH_TESTNET' lidofinance/lido-testnet --network goerli -l v2.0.1",
"create-lido-holesky": "env-cmd --use-shell graph create --access-token '$AUTH_TOKEN_HOLESKY' --node '$GRAPH_NODE_HOLESKY' lidofinance/lido-holesky",
"remove-lido-holesky": "env-cmd --use-shell graph remove --access-token '$AUTH_TOKEN_HOLESKY' --node '$GRAPH_NODE_HOLESKY' lidofinance/lido-holesky",
"deploy-lido-holesky": "env-cmd --use-shell graph deploy --access-token '$AUTH_TOKEN_HOLESKY' --node '$GRAPH_NODE_HOLESKY' --ipfs '$GRAPH_IPFS_HOLESKY' --headers '$IPFS_AUTH_HOLESKY' lidofinance/lido-holesky --network holesky -l v2.0.1",
"deploy-chainstack": "env-cmd --use-shell graph deploy --node '$GRAPH_NODE_CHAINSTACK' --ipfs '$GRAPH_IPFS_CHAINSTACK' lido-mainnet --network mainnet"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.81.0",
"@graphprotocol/graph-ts": "0.31.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.8.4",
"dotenv": "16.3.1",
"env-cmd": "10.1.0",
"ethers": "5.7.2",
"graphql": "16.8.1",
"graphql-request": "^7.1.0",
"jest": "29.7.0",
"matchstick-as": "0.6.0",
"prettier": "3.0.3",
"typescript": "5.2.2"
}
}