2021-06-07 13:43:31 +03:00
|
|
|
{
|
|
|
|
"name": "sub-graph-proxy",
|
|
|
|
"license": "UNLICENSED",
|
|
|
|
"scripts": {
|
2021-06-09 17:39:13 +03:00
|
|
|
"lint": "eslint .",
|
2021-06-09 16:43:04 +03:00
|
|
|
"yaml:proxy": "node ./create-yaml-file create-yaml -s proxy -e bsc | mustache - mustache/yaml.mustache > subgraphs/proxy-tornado-subgraph.yaml",
|
2021-06-09 17:04:11 +03:00
|
|
|
"yaml:instance": "node ./create-yaml-file create-yaml -s instance -e bsc | mustache - mustache/yaml.mustache > subgraphs/instance-tornado-subgraph.yaml",
|
2021-06-09 17:24:07 +03:00
|
|
|
"codegen": "graph codegen",
|
2021-06-09 17:20:37 +03:00
|
|
|
"codegen:proxy": "yarn yaml:proxy && yarn codegen -- subgraphs/proxy-tornado-subgraph.yaml",
|
|
|
|
"codegen:instance": "yarn yaml:instance && yarn codegen -- subgraphs/instance-tornado-subgraph.yaml",
|
2021-06-09 17:24:07 +03:00
|
|
|
"build": "graph build",
|
|
|
|
"build:proxy": "graph build subgraphs/proxy-tornado-subgraph.yaml",
|
|
|
|
"build:instance": "graph build subgraphs/instance-tornado-subgraph.yaml",
|
2021-06-09 17:26:21 +03:00
|
|
|
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ tornadocash/bsc-tornado-subgraph",
|
|
|
|
"deploy:proxy": "yarn deploy -- tornadocash/bsc-tornado-subgraph ubgraphs/proxy-tornado-subgraph.yaml",
|
|
|
|
"deploy:instance": "yarn deploy -- tornadocash/bsc-tornado-subgraph subgraphs/instance-tornado-subgraph.yaml"
|
2021-06-07 13:43:31 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@graphprotocol/graph-cli": "0.20.0",
|
|
|
|
"@graphprotocol/graph-ts": "0.20.0"
|
2021-06-09 15:34:06 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-06-09 17:39:13 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.26.1",
|
|
|
|
"@typescript-eslint/parser": "^4.26.1",
|
2021-06-09 15:34:06 +03:00
|
|
|
"commander": "^7.2.0",
|
2021-06-09 17:39:13 +03:00
|
|
|
"eslint": "^7.28.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-import-resolver-typescript": "^2.4.0",
|
|
|
|
"eslint-plugin-import": "^2.23.4",
|
|
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
|
|
"mustache": "^4.2.0",
|
|
|
|
"prettier": "^2.3.1",
|
|
|
|
"typescript": "^4.3.2"
|
2021-06-07 13:43:31 +03:00
|
|
|
}
|
|
|
|
}
|