-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
56 lines (56 loc) · 2.18 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "@hifi/subgraph-v1",
"description": "Subgraph for the Hifi fixed-rate, fixed-term lending protocol",
"version": "1.0.0",
"author": {
"name": "Hifi",
"email": "[email protected]",
"url": "https://hifi.finance"
},
"bugs": {
"url": "https://github.com/hifi-finance/hifi-subgraph/issues"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@graphprotocol/graph-cli": "^0.62.0",
"@graphprotocol/graph-ts": "^0.31.0",
"@trivago/prettier-plugin-sort-imports": "^3.4.0",
"@types/node": "^15.14.9",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"commander": "^7.2.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.10.0",
"husky": "^6.0.0",
"lint-staged": "^11.2.6",
"mustache": "^4.2.0",
"prettier": "^2.8.8",
"shx": "^0.3.4",
"typescript": "^4.9.5"
},
"homepage": "https://github.com/hifi-finance/hifi-subgraph#readme",
"license": "LGPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/hifi-finance/hifi-subgraph"
},
"scripts": {
"build": "graph build",
"clean": "shx rm -rf ./build ./src/types ./subgraph.yaml",
"codegen": "graph codegen --output-dir src/types/",
"commit": "git-cz",
"deploy": "graph deploy $SUBGRAPH_NAME --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy:mainnet": "yarn run prepare:mainnet && SUBGRAPH_NAME=hifi-finance/hifi yarn deploy",
"deploy:matic": "yarn run prepare:matic && SUBGRAPH_NAME=hifi-finance/hifi-v1-matic yarn deploy",
"lint": "yarn lint:ts . && yarn prettier:check",
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
"postinstall": "husky install",
"prepare:mainnet": "./scripts/mustache.sh mainnet",
"prepare:matic": "./scripts/mustache.sh matic",
"prettier": "prettier --config .prettierrc.yaml --write \"**/*.{js,json,md,ts,yaml,yml}\"",
"prettier:check": "prettier --config .prettierrc.yaml --check \"**/*.{js,json,md,ts,yaml,yml}\""
}
}