-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
36 lines (36 loc) · 1.59 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
{
"name": "morpheus-subgraph",
"version": "1.0.0",
"license": "MIT",
"author": "Distributed Lab",
"scripts": {
"install": "npx husky install",
"compile": "graph codegen && graph build",
"codegen": "graph codegen",
"build": "graph build",
"prepare:ethereum-mainnet": "mustache config/ethereum-mainnet.json subgraph.template.yaml > subgraph.yaml",
"prepare:ethereum-sepolia": "mustache config/ethereum-sepolia.json subgraph.template.yaml > subgraph.yaml",
"deploy": "graph deploy --node https://api.studio.thegraph.com/deploy/ morpheus-dashboard",
"create-local": "graph create --node http://localhost:8020/ morpheus-dashboard",
"remove-local": "graph remove --node http://localhost:8020/ morpheus-dashboard",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 morpheus-dashboard",
"test": "graph test",
"coverage": "graph test -c",
"test-docker": "docker run -it --rm --mount type=bind,source=.,target=/matchstick matchstick",
"lint-fix": "npm run lint-ts-fix && npm run lint-ql-fix && npm run lint-json-fix && npm run lint-yaml-fix",
"lint-json-fix": "prettier --write \"./[a-zA-Z0-9.]+(?!-lock).json\"",
"lint-yaml-fix": "prettier --write \"./**/*.yaml\"",
"lint-ql-fix": "prettier --write \"./**/*.graphql\"",
"lint-ts-fix": "prettier --write \"./**/*.ts\""
},
"dependencies": {
"@graphprotocol/graph-cli": "0.68.5",
"@graphprotocol/graph-ts": "0.32.0",
"husky": "^8.0.3",
"prettier": "^3.0.1"
},
"devDependencies": {
"matchstick-as": "0.6.0",
"mustache": "^4.2.0"
}
}