tornado-subgraph/package.json
2024-03-30 10:10:55 +00:00

86 lines
7.7 KiB
JSON

{
"name": "sub-graph-proxy",
"license": "UNLICENSED",
"scripts": {
"lint": "eslint .",
"generate": "yarn generate-bsc && yarn generate-xdai && yarn generate-matic && yarn generate-mainnet && yarn generate-goerli && yarn generate-avalanche && yarn generate-arbitrum && yarn generate-optimism && yarn generate-sepolia",
"generate-bsc": "yarn codegen:tornado-bsc && yarn build:tornado-bsc",
"generate-xdai": "yarn codegen:tornado-xdai && yarn build:tornado-xdai",
"generate-matic": "yarn codegen:tornado-matic && yarn build:tornado-matic",
"generate-mainnet": "yarn codegen:tornado-mainnet && yarn build:tornado-mainnet",
"generate-goerli": "yarn codegen:tornado-goerli && yarn build:tornado-goerli",
"generate-avalanche": "yarn codegen:tornado-avalanche && yarn build:tornado-avalanche",
"generate-arbitrum": "yarn codegen:tornado-arbitrum && yarn build:tornado-arbitrum",
"generate-optimism": "yarn codegen:tornado-optimism && yarn build:tornado-optimism",
"generate-sepolia": "yarn codegen:tornado-sepolia && yarn build:tornado-sepolia",
"yaml:tornado-bsc": "node ./create-yaml-file create-yaml -e bsc | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-bsc.yaml",
"yaml:tornado-xdai": "node ./create-yaml-file create-yaml -e xdai | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-xdai.yaml",
"yaml:tornado-matic": "node ./create-yaml-file create-yaml -e matic | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-matic.yaml",
"yaml:tornado-mainnet": "node ./create-yaml-file create-yaml -e mainnet | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-mainnet.yaml",
"yaml:tornado-goerli": "node ./create-yaml-file create-yaml -e goerli | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-goerli.yaml",
"yaml:tornado-avalanche": "node ./create-yaml-file create-yaml -e avalanche | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-avalanche.yaml",
"yaml:tornado-arbitrum": "node ./create-yaml-file create-yaml -e arbitrum-one | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-arbitrum.yaml",
"yaml:tornado-optimism": "node ./create-yaml-file create-yaml -e optimism | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-optimism.yaml",
"yaml:tornado-sepolia": "node ./create-yaml-file create-yaml -e sepolia | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-sepolia.yaml",
"codegen": "graph codegen",
"codegen:tornado-bsc": "yarn yaml:tornado-bsc && yarn codegen -- subgraphs/tornado-subgraph-bsc.yaml",
"codegen:tornado-xdai": "yarn yaml:tornado-xdai && yarn codegen -- subgraphs/tornado-subgraph-xdai.yaml",
"codegen:tornado-matic": "yarn yaml:tornado-matic && yarn codegen -- subgraphs/tornado-subgraph-matic.yaml",
"codegen:tornado-mainnet": "yarn yaml:tornado-mainnet && yarn codegen -- subgraphs/tornado-subgraph-mainnet.yaml",
"codegen:tornado-goerli": "yarn yaml:tornado-goerli && yarn codegen -- subgraphs/tornado-subgraph-goerli.yaml",
"codegen:tornado-avalanche": "yarn yaml:tornado-avalanche && yarn codegen -- subgraphs/tornado-subgraph-avalanche.yaml",
"codegen:tornado-arbitrum": "yarn yaml:tornado-arbitrum && yarn codegen -- subgraphs/tornado-subgraph-arbitrum.yaml",
"codegen:tornado-optimism": "yarn yaml:tornado-optimism && yarn codegen -- subgraphs/tornado-subgraph-optimism.yaml",
"codegen:tornado-sepolia": "yarn yaml:tornado-sepolia && yarn codegen -- subgraphs/tornado-subgraph-sepolia.yaml",
"build": "graph build",
"build:tornado-bsc": "graph build subgraphs/tornado-subgraph-bsc.yaml",
"build:tornado-xdai": "graph build subgraphs/tornado-subgraph-xdai.yaml",
"build:tornado-matic": "graph build subgraphs/tornado-subgraph-matic.yaml",
"build:tornado-mainnet": "graph build subgraphs/tornado-subgraph-mainnet.yaml",
"build:tornado-goerli": "graph build subgraphs/tornado-subgraph-goerli.yaml",
"build:tornado-avalanche": "graph build subgraphs/tornado-subgraph-avalanche.yaml",
"build:tornado-arbitrum": "graph build subgraphs/tornado-subgraph-arbitrum.yaml",
"build:tornado-optimism": "graph build subgraphs/tornado-subgraph-optimism.yaml",
"build:tornado-sepolia": "graph build subgraphs/tornado-subgraph-sepolia.yaml",
"create": "graph create --node http://127.0.0.1:8020/ --ipfs http://127.0.0.1:5001/",
"create:all": "yarn run create:tornado-bsc && yarn run create:tornado-xdai && yarn run create:tornado-matic && yarn run create:tornado-mainnet && yarn run create:tornado-avalanche && yarn run create:tornado-arbitrum && yarn run create:tornado-optimism && yarn run create:tornado-sepolia",
"create:tornado-bsc": "yarn run create -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph-bsc.yaml",
"create:tornado-xdai": "yarn run create -- tornadocash/xdai-tornado-subgraph subgraphs/tornado-subgraph-xdai.yaml",
"create:tornado-matic": "yarn run create -- tornadocash/matic-tornado-subgraph subgraphs/tornado-subgraph-matic.yaml",
"create:tornado-mainnet": "yarn run create -- tornadocash/mainnet-tornado-subgraph subgraphs/tornado-subgraph-mainnet.yaml",
"create:tornado-goerli": "yarn run create -- tornadocash/goerli-tornado-subgraph subgraphs/tornado-subgraph-goerli.yaml",
"create:tornado-avalanche": "yarn run create -- tornadocash/avalanche-tornado-subgraph subgraphs/tornado-subgraph-avalanche.yaml",
"create:tornado-arbitrum": "yarn run create -- tornadocash/arbitrum-tornado-subgraph subgraphs/tornado-subgraph-arbitrum.yaml",
"create:tornado-optimism": "yarn run create -- tornadocash/optimism-tornado-subgraph subgraphs/tornado-subgraph-optimism.yaml",
"create:tornado-sepolia": "yarn run create -- tornadocash/sepolia-tornado-subgraph subgraphs/tornado-subgraph-sepolia.yaml",
"deploy": "graph deploy --node http://127.0.0.1:8020/ --ipfs http://127.0.0.1:5001/",
"deploy:all": "yarn deploy:tornado-bsc && yarn deploy:tornado-xdai && yarn deploy:tornado-matic && yarn deploy:tornado-mainnet && yarn deploy:tornado-avalanche && yarn deploy:tornado-arbitrum && yarn deploy:tornado-optimism && yarn deploy:tornado-sepolia",
"deploy:tornado-bsc": "yarn deploy -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph-bsc.yaml",
"deploy:tornado-xdai": "yarn deploy -- tornadocash/xdai-tornado-subgraph subgraphs/tornado-subgraph-xdai.yaml",
"deploy:tornado-matic": "yarn deploy -- tornadocash/matic-tornado-subgraph subgraphs/tornado-subgraph-matic.yaml",
"deploy:tornado-mainnet": "yarn deploy -- tornadocash/mainnet-tornado-subgraph subgraphs/tornado-subgraph-mainnet.yaml",
"deploy:tornado-goerli": "yarn deploy -- tornadocash/goerli-tornado-subgraph subgraphs/tornado-subgraph-goerli.yaml",
"deploy:tornado-avalanche": "yarn deploy -- tornadocash/avalanche-tornado-subgraph subgraphs/tornado-subgraph-avalanche.yaml",
"deploy:tornado-arbitrum": "yarn deploy -- tornadocash/arbitrum-tornado-subgraph subgraphs/tornado-subgraph-arbitrum.yaml",
"deploy:tornado-optimism": "yarn deploy -- tornadocash/optimism-tornado-subgraph subgraphs/tornado-subgraph-optimism.yaml",
"deploy:tornado-sepolia": "yarn deploy -- tornadocash/sepolia-tornado-subgraph subgraphs/tornado-subgraph-sepolia.yaml"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.20.0",
"@graphprotocol/graph-ts": "^0.20.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"commander": "^7.2.0",
"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"
}
}