-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
44 lines (44 loc) · 1.97 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
{
"name": "@graphprotocol/mainnet-subgraph",
"description": "Subgraph for the Graph Network",
"repository": "https://github.com/graphprotocol/graph-network-subgraph",
"license": "MIT",
"files": [
"src",
"subgraph.yaml",
"schema.graphql",
"deployment.json"
],
"scripts": {
"codegen": "graph codegen --output-dir src/types/",
"build": "graph build",
"test": "yarn prepare:mainnet && graph test",
"prepare:testnet": "mustache ./config/testnet.json subgraph.template.yaml > subgraph.yaml && graph codegen --output-dir src/types/",
"prepare:mainnet": "mustache ./config/mainnet.json subgraph.template.yaml > subgraph.yaml && graph codegen --output-dir src/types/",
"deploy-testnet": "yarn && yarn prepare:testnet && graph deploy davekaj/billing --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-mainnet": "yarn && yarn prepare:mainnet && graph deploy graphprotocol/billing --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-test": "yarn && yarn prepare:mainnet && graph deploy <SUBGRAPH_NAME> --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-studio": "yarn && yarn prepare:mainnet && graph deploy --studio graph-billing-arbitrum",
"lint": "yarn eslint .",
"lint-fix": "eslint . --fix",
"prettier": "prettier '**/*.ts'",
"prettier-write": "prettier --write '**/*.ts'"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.68.0",
"@graphprotocol/graph-ts": "0.32.0",
"@types/node": "16.4.7",
"@typescript-eslint/eslint-plugin": "4.28.5",
"@typescript-eslint/parser": "4.28.5",
"eslint": "7.31.0",
"mustache": "4.2.0",
"prettier": "2.3.2",
"typescript": "4.3.5",
"matchstick-as": "^0.4.2"
},
"author": "",
"bugs": {
"url": "https://github.com/graphprotocol/graph-network-subgraph/issues"
},
"homepage": "https://github.com/graphprotocol/graph-network-subgraph#readme"
}