mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Matthias Kretschmann
f649083b3e
* project setup fixes * fix typescript * some auto fixes * fixes * fix all linting errors * add urls * fixes, deactivate type checking on Travis for now * add query examples * consistent examples * note about lowercase ETH addresses * remove npm start
64 lines
2.1 KiB
JSON
64 lines
2.1 KiB
JSON
{
|
|
"name": "ocean-subgraph",
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"start": "",
|
|
"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",
|
|
"codegen": "graph codegen --output-dir src/types/",
|
|
"build": "graph build",
|
|
"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/",
|
|
"deploy:local": "graph deploy oceanprotocol/ocean-subgraph subgraph.yaml --debug --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
|
|
"test": "npm run lint && npm run type-check",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@graphprotocol/graph-cli": "^0.19.0",
|
|
"@graphprotocol/graph-ts": "^0.19.0",
|
|
"@release-it/bumper": "^2.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.9.1",
|
|
"@typescript-eslint/parser": "^4.9.1",
|
|
"auto-changelog": "^2.2.1",
|
|
"eslint": "^7.15.0",
|
|
"eslint-config-oceanprotocol": "^1.5.0",
|
|
"eslint-config-prettier": "^7.0.0",
|
|
"eslint-plugin-prettier": "^3.2.0",
|
|
"prettier": "^2.2.1",
|
|
"release-it": "^14.2.2",
|
|
"typescript": "^4.1.2"
|
|
},
|
|
"dependencies": {},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/oceanprotocol/ocean-subgraph.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"release-it": {
|
|
"hooks": {
|
|
"after:bump": "npm run changelog"
|
|
},
|
|
"plugins": {
|
|
"@release-it/bumper": {
|
|
"out": [
|
|
"package.json",
|
|
"package-lock.json"
|
|
]
|
|
}
|
|
},
|
|
"git": {
|
|
"tagName": "v${version}"
|
|
},
|
|
"github": {
|
|
"release": true
|
|
},
|
|
"npm": {
|
|
"publish": false
|
|
}
|
|
}
|
|
}
|