forked from pancakeswap/pancake-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
49 lines (49 loc) · 2.55 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
{
"name": "pancake-subgraph",
"description": "PancakeSwap Subgraph",
"version": "1.0.0",
"repository": "[email protected]:pancakeswap/pancake-subgraph.git",
"author": "PancakeSwap",
"license": "MIT",
"scripts": {
"codegen:blocks": "graph codegen subgraphs/blocks.yaml",
"codegen:dexcandles": "graph codegen subgraphs/dexcandles.yaml",
"codegen:exchange": "graph codegen subgraphs/exchange.yaml",
"codegen:profile": "graph codegen subgraphs/profile.yaml",
"codegen:timelock": "graph codegen subgraphs/timelock.yaml",
"codegen:trading": "graph codegen subgraphs/trading.yaml",
"build:blocks": "graph build subgraphs/blocks.yaml",
"build:dexcandles": "graph build subgraphs/dexcandles.yaml",
"build:exchange": "graph build subgraphs/exchange.yaml",
"build:profile": "graph build subgraphs/profile.yaml",
"build:timelock": "graph build subgraphs/timelock.yaml",
"build:trading": "graph build subgraphs/trading.yaml",
"deploy:blocks": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/blocks subgraphs/blocks.yaml",
"deploy:dexcandles": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/dex-candles subgraphs/dexcandles.yaml",
"deploy:exchange": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/exchange subgraphs/exchange.yaml",
"deploy:profile": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/profile subgraphs/profile.yaml",
"deploy:timelock": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/timelock subgraphs/timelock.yaml",
"deploy:trading": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/trading-competition-v1 subgraphs/trading.yaml",
"format": "prettier --write '*/**/*.{js,ts}'",
"lint": "eslint '*/**/*.{js,ts}'"
},
"husky": {
"hooks": {
"pre-commit": "yarn format",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^12.0.0",
"@commitlint/config-conventional": "^12.0.0",
"@graphprotocol/graph-cli": "^0.20.0",
"@graphprotocol/graph-ts": "^0.20.0",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"husky": "^4.3.8",
"prettier": "^2.2.1",
"typescript": "^4.2.2"
}
}