-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 3.56 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 3.56 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
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": "@livepeer/subgraph",
"version": "1.4.0",
"license": "MIT",
"scripts": {
"prepare": "yarn prepare:arbitrum-one && yarn codegen && yarn codegen:typechain",
"prepare:arbitrum-one": "TS_NODE_PROJECT='./tsconfig.hardhat.json' NETWORK_NAME=arbitrum-one ts-node ./templatify.ts",
"prepare:arbitrum-goerli": "TS_NODE_PROJECT='./tsconfig.hardhat.json' NETWORK_NAME=arbitrum-goerli ts-node ./templatify.ts",
"prepare:development": "TS_NODE_PROJECT='./tsconfig.hardhat.json' NETWORK_NAME=development ts-node ./templatify.ts",
"codegen": "graph codegen --output-dir src/types/",
"codegen:typechain": "yarn typechain --out-dir ./typechain-types/ --target ethers-v5 \"abis/**.json\"",
"build": "graph build",
"create:local": "graph create livepeer/livepeer --node http://127.0.0.1:8020",
"create:docker": "graph create livepeer/livepeer --node http://graph-node:8020",
"deploy": "graph deploy ${SUBGRAPH:-livepeer}",
"deploy:arbitrum-one": "yarn prepare:arbitrum-one && graph deploy livepeer",
"deploy:arbitrum-goerli": "yarn prepare:arbitrum-goerli && graph deploy livepeer/arbitrum-goerli",
"deploy:local": "yarn prepare:development && graph deploy livepeer/livepeer -l \"v0.0.1\" --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020",
"deploy:docker": "yarn prepare:development && graph deploy livepeer/livepeer -l \"v0.0.1\" --ipfs http://ipfs:5001 --node http://graph-node:8020",
"start": "docker compose up",
"docker:build": "docker build --cache-from livepeer/subgraph:latest -t livepeer/subgraph:latest .",
"test:development": "TS_NODE_PROJECT='./tsconfig.hardhat.json' yarn hardhat test --network localhost",
"test:docker": "DOCKER=true TS_NODE_PROJECT='./tsconfig.hardhat.json' yarn hardhat test --network docker",
"test": "yarn docker:build && docker compose -f docker-compose.test.yml up --abort-on-container-exit"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.69.1",
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@nomiclabs/hardhat-waffle": "^2.0.5",
"@typechain/ethers-v5": "^10.2.0",
"@types/mocha": "^10.0.1",
"chai": "^4.3.7",
"ethereum-waffle": "^4.0.10",
"ethers": "^5.7.2",
"hardhat": "^2.28.3",
"typechain": "^8.1.1"
},
"dependencies": {
"@graphprotocol/graph-ts": "0.29.3",
"apollo-fetch": "^0.7.0",
"fs-extra": "^11.3.3",
"handlebars": "^4.7.9",
"js-yaml": "^4.3.1",
"ts-node": "^10.9.1",
"typescript": "^5.9.3",
"typy": "^3.3.0",
"yaml-convert": "^1.0.1"
},
"resolutions": {
"immutable": "^4.3.9",
"elliptic": "^6.6.1",
"lodash": "^4.18.0",
"qs": "^6.14.2",
"secp256k1": "^4.0.4",
"follow-redirects": "^1.16.0",
"nanoid": "^3.3.12",
"base-x": "^3.0.11",
"braces": "^3.0.3",
"cookie": "^0.7.0",
"ejs": "^3.1.10",
"@protobufjs/utf8": "^1.1.1",
"**/mocha/js-yaml": "^4.3.2",
"**/mocha/minimatch": "^5.1.9",
"**/mocha/diff": "^5.2.1",
"**/@ethersproject/providers/ws": "^8.21.1",
"**/hardhat/uuid": "^11.1.1",
"**/jayson/uuid": "^11.1.1",
"**/binary-install-raw/axios": "^1.13.0",
"**/apisauce/axios": "^1.13.0",
"**/binary-install-raw/tar": "^7.5.18",
"**/hardhat/undici": "^6.28.0",
"**/hardhat/adm-zip": "^0.6.0",
"**/ipfs-unixfs/protobufjs": "^7.5.6",
"**/ipfs-http-client/parse-duration": "^2.1.3",
"**/mocha/serialize-javascript": "^7.0.5",
"**/solc/tmp": "^0.2.6",
"**/tmp-promise/tmp": "^0.2.6",
"**/jsprim/json-schema": "^0.4.0",
"**/request/tough-cookie": "^4.1.3",
"**/ipfs-core-utils/parse-duration": "^2.1.3"
}
}