-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
61 lines (61 loc) · 4.52 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
56
57
58
59
60
61
{
"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": {
"prepublishOnly": "yarn & yarn build:ipfs",
"build": "graph build",
"build:ipfs:rinkeby": "yarn && yarn prepare:rinkeby && graph build --ipfs https://testnet.thegraph.com/ipfs/",
"build:ipfs:mainnet": "yarn && yarn prepare:mainnet && graph build --ipfs https://ipfs.network.thegraph.com",
"deploy-mainnet-staging": "yarn && yarn prepare:mainnet && graph deploy graphprotocol/graph-network-analytics-staging --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-mainnet": "yarn && yarn prepare:mainnet && graph deploy graphprotocol/graph-network-analytics --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-arbitrum": "yarn && yarn prepare:arbitrum && graph deploy graphprotocol/graph-analytics-arbitrum --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-sepolia": "yarn && yarn prepare:sepolia && graph deploy graphprotocol/graph-analytics-sepolia --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-arbitrum-sepolia": "yarn && yarn prepare:arbitrum-sepolia && graph deploy graphprotocol/graph-analytics-arb-sepolia --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-testing": "yarn && yarn prepare:<environment> && graph deploy <subgraph-name> --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-studio-mainnet": "yarn && yarn prepare:mainnet && graph deploy --studio graph-analytics-ethereum",
"deploy-studio-arbitrum": "yarn && yarn prepare:arbitrum && graph deploy --studio graph-analytics-arbitrum",
"deploy-studio-sepolia": "yarn && yarn prepare:sepolia && graph deploy --studio graph-analytics-sepolia",
"deploy-studio-arbitrum-sepolia": "yarn && yarn prepare:arbitrum-sepolia && graph deploy --studio graph-analytics-arb-sepolia",
"deploy-studio": "yarn deploy-studio-mainnet && yarn deploy-studio-arbitrum && yarn deploy-studio-sepolia && yarn deploy-studio-arbitrum-sepolia",
"prep:addresses:mainnet": "ts-node config/mainnetAddressScript.ts && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prepare:mainnet": "yarn prep:addresses:mainnet && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen --output-dir src/types/",
"prep:addresses:arbitrum": "ts-node config/arbitrumAddressScript.ts && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prepare:arbitrum": "yarn prep:addresses:arbitrum && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen --output-dir src/types/",
"prep:addresses:arbitrum-sepolia": "ts-node config/arbitrumSepoliaAddressScript.ts && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prepare:arbitrum-sepolia": "yarn prep:addresses:arbitrum-sepolia && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen --output-dir src/types/",
"prep:addresses:sepolia": "ts-node config/sepoliaAddressScript.ts && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prepare:sepolia": "yarn prep:addresses:sepolia && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen --output-dir src/types/",
"lint": "yarn eslint .",
"lint-fix": "eslint . --fix",
"prettier": "prettier '**/*.ts'",
"test": "graph test -v 0.6.0-rc.2",
"prettier-write": "prettier --write '**/*.ts'"
},
"devDependencies": {
"@graphprotocol/contracts": "6.2.0",
"@graphprotocol/graph-cli": "0.69.1",
"@graphprotocol/graph-ts": "0.34.0",
"@types/node": "^14.0.13",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"eslint": "^7.2.0",
"mustache": "^4.0.1",
"prettier": "^2.0.5",
"typescript": "^3.9.3",
"matchstick-as": "0.6.0-beta.2"
},
"author": "",
"bugs": {
"url": "https://github.com/graphprotocol/graph-network-subgraph/issues"
},
"homepage": "https://github.com/graphprotocol/graph-network-subgraph#readme",
"dependencies": {}
}