forked from livepeer/subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 2.5 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 2.5 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
{
"name": "@livepeer/subgraph",
"version": "1.3.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": "^6.16.0",
"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.5.2",
"js-yaml": "^4.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.9.3",
"typy": "^3.3.0",
"yaml-convert": "^1.0.1"
}
}