2020-11-20 13:12:02 +01:00
{
2020-12-02 11:07:09 +01:00
"name" : "ocean-subgraph" ,
2021-06-10 12:23:32 +02:00
"version" : "1.1.2" ,
2020-11-20 13:12:02 +01:00
"scripts" : {
2020-12-11 11:37:09 +01:00
"start" : "" ,
2021-05-12 17:10:30 +02:00
"quickstart:barge" : "export ADDRESS_FILE=\"${HOME}/.ocean/ocean-contracts/artifacts/address.json\" && npm run codegen && npm run bargesetup && npm run create:local-barge && npm run deploy:local-barge" ,
2021-04-13 17:10:03 +02:00
"bargesetup" : "node ./scripts/generatebargesubgraph.js" ,
2020-11-20 13:12:02 +01:00
"create" : "graph create oceanprotocol/ocean-subgraph --node https://api.thegraph.com/deploy/" ,
"create:local" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020" ,
2021-04-13 17:10:03 +02:00
"create:local-barge" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:9020" ,
2021-01-20 12:11:10 +01:00
"create:local-rinkeby" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020" ,
"create:local-ropsten" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020" ,
2021-02-22 15:09:29 +01:00
"create:local-polygon" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020" ,
2021-04-16 13:47:03 +02:00
"create:local-moonbeamalpha" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020" ,
2021-06-10 12:21:50 +02:00
"create:local-gaiaxtestnet" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020" ,
"create:local-mumbai" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020" ,
"create:local-bsc" : "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020" ,
2021-02-09 11:13:31 +01:00
"codegen" : "graph codegen --output-dir src/@types" ,
2020-11-20 13:12:02 +01:00
"build" : "graph build" ,
2020-12-02 11:07:09 +01:00
"deploy" : "graph deploy oceanprotocol/ocean-subgraph --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/" ,
"deploy:beta" : "graph deploy oceanprotocol/ocean-subgraph-beta --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/" ,
2021-01-20 12:11:10 +01:00
"deploy:local" : "graph deploy oceanprotocol/ocean-subgraph subgraph.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020" ,
2021-04-13 17:10:03 +02:00
"deploy:local-barge" : "graph deploy oceanprotocol/ocean-subgraph subgraph.barge.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:9020" ,
2021-01-20 12:11:10 +01:00
"deploy:local-rinkeby" : "graph deploy oceanprotocol/ocean-subgraph subgraph.rinkeby.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020" ,
"deploy:local-ropsten" : "graph deploy oceanprotocol/ocean-subgraph subgraph.ropsten.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020" ,
2021-02-22 15:09:29 +01:00
"deploy:local-polygon" : "graph deploy oceanprotocol/ocean-subgraph subgraph.polygon.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020" ,
2021-04-16 13:47:03 +02:00
"deploy:local-moonbeamalpha" : "graph deploy oceanprotocol/ocean-subgraph subgraph.moonbeamalpha.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020" ,
2021-06-10 12:21:50 +02:00
"deploy:local-gaiaxtestnet" : "graph deploy oceanprotocol/ocean-subgraph subgraph.gaiaxtestnet.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020" ,
"deploy:local-mumbai" : "graph deploy oceanprotocol/ocean-subgraph subgraph.mumbai.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020" ,
"deploy:local-bsc" : "graph deploy oceanprotocol/ocean-subgraph subgraph.bsc.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020" ,
2021-02-09 11:13:31 +01:00
"test" : "npm run codegen && npm run lint && npm run type-check" ,
2021-04-13 17:10:03 +02:00
"test-integration" : "TS_NODE_PROJECT='test/integration/tsconfig.json' mocha --config=test/integration/.mocharc.json --node-env=test --exit 'test/integration/**/*.test.ts'" ,
2020-12-11 11:37:09 +01:00
"lint" : "eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx ." ,
"format" : "prettier --ignore-path .gitignore './**/*.{css,yml,js,ts,tsx,json,yaml}' --write" ,
"type-check" : "tsc --noEmit" ,
"release" : "release-it --non-interactive" ,
"changelog" : "auto-changelog -p"
2020-11-20 13:12:02 +01:00
} ,
"devDependencies" : {
2021-06-25 11:00:54 +02:00
"@graphprotocol/graph-cli" : "^0.20.1" ,
2021-07-12 16:06:21 +02:00
"@graphprotocol/graph-ts" : "^0.20.1" ,
2021-06-25 11:08:52 +02:00
"@types/chai" : "^4.2.19" ,
2021-04-13 17:10:03 +02:00
"@types/chai-spies" : "^1.0.3" ,
2021-07-13 12:04:02 +02:00
"@types/mocha" : "^8.2.3" ,
2021-07-13 11:41:16 +02:00
"@typescript-eslint/eslint-plugin" : "^4.28.2" ,
2021-06-25 13:41:52 +02:00
"@typescript-eslint/parser" : "^4.28.0" ,
2021-05-25 15:16:17 +02:00
"auto-changelog" : "^2.3.0" ,
2021-04-13 17:10:03 +02:00
"chai" : "^4.3.4" ,
"chai-spies" : "^1.0.0" ,
2021-07-12 17:24:01 +02:00
"eslint" : "^7.30.0" ,
2020-12-11 11:37:09 +01:00
"eslint-config-oceanprotocol" : "^1.5.0" ,
2021-05-05 16:07:01 +02:00
"eslint-config-prettier" : "^8.3.0" ,
2021-04-19 11:12:07 +02:00
"eslint-plugin-prettier" : "^3.4.0" ,
2021-06-25 11:09:00 +02:00
"mocha" : "^9.0.1" ,
2021-04-13 17:10:03 +02:00
"mock-local-storage" : "^1.1.17" ,
2021-07-12 17:23:52 +02:00
"prettier" : "^2.3.2" ,
2021-06-25 11:01:44 +02:00
"release-it" : "^14.10.0" ,
2021-04-13 17:10:03 +02:00
"ts-node-register" : "^1.0.0" ,
2021-07-12 16:06:04 +02:00
"typescript" : "^4.3.5"
2020-11-20 13:12:02 +01:00
} ,
2021-04-13 17:10:03 +02:00
"dependencies" : {
2021-06-10 09:52:12 +02:00
"@oceanprotocol/lib" : "^0.15.1" ,
2021-04-13 17:10:03 +02:00
"cross-fetch" : "^3.1.4"
} ,
2020-12-11 11:37:09 +01:00
"repository" : {
"type" : "git" ,
"url" : "git+https://github.com/oceanprotocol/ocean-subgraph.git"
} ,
"license" : "Apache-2.0" ,
"release-it" : {
"hooks" : {
"after:bump" : "npm run changelog"
} ,
2021-05-25 15:31:52 +02:00
"plugins" : { } ,
2020-12-11 11:37:09 +01:00
"git" : {
"tagName" : "v${version}"
} ,
"github" : {
"release" : true
} ,
"npm" : {
"publish" : false
}
2020-11-20 13:12:02 +01:00
}
}