forked from graphprotocol/everest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.76 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
{
"name": "everest-subgraph",
"version": "1.0.0",
"description": "Registry of crypto projects",
"main": "index.js",
"repository": "https://github.com/graphprotocol/everest/subgraph",
"author": "The Graph",
"license": "MIT",
"devDependencies": {
"@graphprotocol/graph-cli": "0.18.0",
"@graphprotocol/graph-ts": "0.18.1",
"@typescript-eslint/parser": "^2.12.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"typescript": "^3.7.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,css,md}": [
"prettier --write --config ./.prettierrc",
"git add"
]
},
"scripts": {
"prepare:mainnet": "node ./config/configScript.js && mustache ./config/mainnet.json subgraph.template.yaml > subgraph.yaml && yarn graph codegen --output-dir src/types/",
"prepare:ropsten": "node ./config/configScript.js && mustache ./config/ropsten.json subgraph.template.yaml > subgraph.yaml && yarn graph codegen --output-dir src/types/",
"build-ropsten": "yarn prepare:ropsten && graph build",
"build-mainnet": "yarn prepare:mainnet && graph build",
"deploy-ropsten": "yarn prepare:ropsten && graph deploy graphprotocol/everest-ropsten --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-mainnet": "yarn prepare:mainnet && graph deploy graphprotocol/everest --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-testing": "yarn prepare:ropsten && graph deploy davekaj/everest --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/"
},
"dependencies": {
"mustache": "^4.0.1"
}
}