mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-10-31 23:35:19 +01:00
88 lines
4.6 KiB
JSON
88 lines
4.6 KiB
JSON
{
|
|
"name": "ocean-subgraph",
|
|
"version": "2.0.3",
|
|
"scripts": {
|
|
"start": "",
|
|
"quickstart:development": "node ./scripts/generatenetworkssubgraphs.js development && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:barge": "node ./scripts/generatenetworkssubgraphs.js development && npm run codegen && npm run create:local-barge && npm run deploy:local-barge",
|
|
"quickstart:rinkeby": "node ./scripts/generatenetworkssubgraphs.js rinkeby && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:ropsten": "node ./scripts/generatenetworkssubgraphs.js ropsten && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:mumbai": "node ./scripts/generatenetworkssubgraphs.js mumbai && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:moonbase": "node ./scripts/generatenetworkssubgraphs.js moonbase && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:polygon": "node ./scripts/generatenetworkssubgraphs.js polygon && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:mainnet": "node ./scripts/generatenetworkssubgraphs.js mainnet && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:moonriver": "node ./scripts/generatenetworkssubgraphs.js moonriver && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:energyweb": "node ./scripts/generatenetworkssubgraphs.js energyweb && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"quickstart:bsc": "node ./scripts/generatenetworkssubgraphs.js bsc && npm run codegen && npm run create:local && npm run deploy:local",
|
|
"create:thegraph": "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",
|
|
"create:local-barge": "graph create oceanprotocol/ocean-subgraph --node http://172.15.0.15:8020",
|
|
"codegen": "graph codegen --output-dir src/@types",
|
|
"build": "graph build",
|
|
"deploy:thegraph": "graph deploy oceanprotocol/ocean-subgraph -l $npm_package_version --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
|
|
"deploy:local": "graph deploy oceanprotocol/ocean-subgraph subgraph.yaml -l $npm_package_version --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020",
|
|
"deploy:local-barge": "graph deploy oceanprotocol/ocean-subgraph subgraph.yaml -l $npm_package_version --debug --ipfs http://172.15.0.16:5001 --node http://172.15.0.15:8020",
|
|
"test": "npm run codegen && npm run lint && npm run type-check",
|
|
"test-integration": "TS_NODE_PROJECT='test/integration/tsconfig.json' mocha --config=test/integration/.mocharc.json --node-env=test --exit 'test/integration/**/*.test.ts'",
|
|
"lint": "eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx .",
|
|
"lint:fix": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx . --fix",
|
|
"format": "prettier --ignore-path .gitignore './**/*.{css,yml,js,ts,tsx,json,yaml}' --write",
|
|
"type-check": "tsc --noEmit",
|
|
"replaceVersion": "node ./scripts/replaceVersion.js",
|
|
"release": "release-it --non-interactive",
|
|
"changelog": "auto-changelog -p"
|
|
},
|
|
"devDependencies": {
|
|
"@graphprotocol/graph-cli": "^0.33.0",
|
|
"@graphprotocol/graph-ts": "^0.27.0",
|
|
"@types/chai": "^4.3.1",
|
|
"@types/chai-spies": "^1.0.3",
|
|
"@types/mocha": "^9.1.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"auto-changelog": "^2.4.0",
|
|
"chai": "^4.3.6",
|
|
"chai-spies": "^1.0.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-oceanprotocol": "^2.0.3",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-standard": "^5.0.0",
|
|
"mocha": "^10.0.0",
|
|
"mock-local-storage": "^1.1.23",
|
|
"prettier": "^2.7.1",
|
|
"release-it": "^15.2.0",
|
|
"source-map-support": "^0.5.21",
|
|
"ts-node": "^10.9.1",
|
|
"ts-node-dev": "^2.0.0",
|
|
"ts-node-register": "^1.0.0",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"dependencies": {
|
|
"@oceanprotocol/lib": "^1.1.6",
|
|
"cross-fetch": "^3.1.4"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/oceanprotocol/ocean-subgraph.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"release-it": {
|
|
"hooks": {
|
|
"after:bump": "npm run changelog && npm run replaceVersion"
|
|
},
|
|
"plugins": {},
|
|
"git": {
|
|
"tagName": "v${version}"
|
|
},
|
|
"github": {
|
|
"release": true
|
|
},
|
|
"npm": {
|
|
"publish": false
|
|
}
|
|
}
|
|
}
|