forked from Uniswap/v2-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
34 lines (34 loc) 路 1.44 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "@ubeswap/subgraph",
"version": "1.0.0",
"repository": "https://github.com/ubeswap/ubeswap-subgraph",
"license": "GPL-3.0-or-later",
"scripts": {
"codegen": "graph codegen --output-dir src/types/",
"build": "graph build",
"deploy": "export $(cat .env) && graph deploy ubeswap/ubeswap --access-token \"$GRAPH_ACCESS_TOKEN\" --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ --debug",
"deploy:backup": "export $(cat .env) && graph deploy ubeswap/ubeswap-backup --access-token \"$GRAPH_ACCESS_TOKEN\" --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ --debug",
"deploy-staging": "graph deploy macalinao/ubeswap --ipfs https://api.staging.thegraph.com/ipfs/ --node https://api.staging.thegraph.com/deploy/",
"watch-local": "graph deploy ubeswap/ubeswap --watch --debug --node http://127.0.0.1:8020/ --ipfs http://localhost:5001",
"prepare": "husky install"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.21.1",
"@graphprotocol/graph-ts": "^0.20.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"eslint": "^6.2.2",
"eslint-config-prettier": "^6.1.0",
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^2.2.1",
"typescript": "^3.5.2"
},
"files": [
"schema.graphql"
],
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md,ts}": "prettier --write"
}
}