erc20-subgraph/package.json

30 lines
1.2 KiB
JSON

{
"name": "erc20-subgraph",
"version": "0.1.0",
"private": true,
"scripts": {
"auth": "graph auth",
"codegen": "graph codegen",
"build": "graph build",
"clean": "shx rm -rf ./build ./src/types ./subgraph.yaml",
"deploy": "graph deploy $SUBGRAPH --debug --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"create-local": "graph create --node http://localhost:8020/ graphprotocol/erc20-subgraph",
"remove-local": "graph remove --node http://localhost:8020/ graphprotocol/erc20-subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 graphprotocol/erc20-subgraph",
"deploy:ropsten": "npm prepare:ropsten && SUBGRAPH=bgits/status-snt npm deploy",
"deploy:mainnet": "npm run prepare:mainnet && SUBGRAPH=bgits/snt-mainnet yarn deploy",
"prepare:ropsten": "NETWORK_NAME=ropsten node ./templatify.js",
"prepare:mainnet": "NETWORK_NAME=mainnet node ./templatify.js"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.17.1",
"@graphprotocol/graph-ts": "0.17.0",
"axios": "^0.19.0",
"fs-extra": "^8.1.0",
"handlebars": "^4.5.2",
"js-yaml": "^3.13.1",
"shx": "^0.3.2",
"typy": "^3.3.0"
}
}