-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 3.03 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
{
"name": "crytoswap-subgraph",
"description": "PancakeSwap Subgraph",
"version": "1.0.0",
"repository": "[email protected]:pancakeswap/pancake-subgraph.git",
"author": "PancakeSwap",
"license": "MIT",
"scripts": {
"create-local-blocks": "graph create crytoswap-v1/blocks --node http://127.0.0.1:8020",
"create-local-dexcandles": "graph create crytoswap-v1/dex-candles --node http://127.0.0.1:8020",
"create-local-exchange": "graph create crytoswap-v1/exchange --node http://127.0.0.1:8020",
"create-local-profile": "graph create crytoswap-v1/profile --node http://127.0.0.1:8020",
"create-local-timelock": "graph create crytoswap-v1/timelock --node http://127.0.0.1:8020",
"create-local-trading-competition-v1": "graph create crytoswap-v1/trading-competition-v1 --node http://127.0.0.1:8020",
"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 http://127.0.0.1:8020 --ipfs http://localhost:5001 crytoswap-v1/blocks subgraphs/blocks.yaml",
"deploy:dexcandles": "graph deploy --node http://127.0.0.1:8020 --ipfs http://localhost:5001 crytoswap-v1/dex-candles subgraphs/dexcandles.yaml",
"deploy:exchange": "graph deploy --node http://127.0.0.1:8020 --ipfs http://localhost:5001 crytoswap-v1/exchange subgraphs/exchange.yaml",
"deploy:profile": "graph deploy --node http://127.0.0.1:8020 --ipfs http://localhost:5001 crytoswap-v1/profile subgraphs/profile.yaml",
"deploy:timelock": "graph deploy --node http://127.0.0.1:8020 --ipfs http://localhost:5001 crytoswap-v1/timelock subgraphs/timelock.yaml",
"deploy:trading": "graph deploy --node http://127.0.0.1:8020 --ipfs http://localhost:5001 crytoswap-v1/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"
}
}