-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
58 lines (58 loc) · 3.34 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
{
"name": "@sablier/subgraph",
"description": "Subgraph for the Sablier V1 token distribution protocol",
"version": "1.0.0",
"author": {
"name": "Sablier",
"url": "https://sablier.com"
},
"bugs": {
"url": "https://github.com/sablier-labs/v1-subgraph/issues"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.23.0",
"@graphprotocol/graph-ts": "^0.23.0",
"@sablier/eslint-config": "^1.0.1",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"mustache": "^4.2.0",
"prettier": "^2.4.1",
"typescript": "^4.4.4"
},
"license": "LGPL-3.0",
"private": true,
"repository": "github.com/sablier-labs/v1-subgraph",
"scripts": {
"build": "graph build --debug",
"clean": "rm -rf ./build ./src/types ./subgraph.yaml",
"codegen": "graph codegen --debug --output-dir src/types/",
"deploy": "graph deploy $SUBGRAPH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy:arbitrum": "yarn prepare:arbitrum && SUBGRAPH=sablier-labs/sablier-arbitrum yarn deploy",
"deploy:avalanche": "yarn prepare:avalanche && SUBGRAPH=sablier-labs/sablier-avalanche yarn deploy",
"deploy:bsc": "yarn prepare:bsc && SUBGRAPH=sablier-labs/sablier-bsc yarn deploy",
"deploy:goerli": "yarn prepare:goerli && SUBGRAPH=sablier-labs/sablier-goerli yarn deploy",
"deploy:kovan": "yarn prepare:kovan && SUBGRAPH=sablier-labs/sablier-kovan yarn deploy",
"deploy:mainnet": "yarn prepare:mainnet && SUBGRAPH=sablier-labs/sablier yarn deploy",
"deploy:matic": "yarn prepare:matic && SUBGRAPH=sablier-labs/sablier-matic yarn deploy",
"deploy:optimism": "yarn prepare:optimism && SUBGRAPH=sablier-labs/sablier-optimism yarn deploy",
"deploy:rinkeby": "yarn prepare:rinkeby && SUBGRAPH=sablier-labs/sablier-rinkeby yarn deploy",
"deploy:ropsten": "yarn prepare:ropsten && SUBGRAPH=sablier-labs/sablier-ropsten yarn deploy",
"lint": "yarn lint:ts && yarn prettier:check",
"lint:ts": "eslint --config ./.eslintrc.yml --ignore-path ./.eslintignore --ext .js,.ts .",
"prepare:arbitrum": "mustache ./networks/arbitrum.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:avalanche": "mustache ./networks/avalanche.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:bsc": "mustache ./networks/bsc.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:goerli": "mustache ./networks/goerli.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:kovan": "mustache ./networks/kovan.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:mainnet": "mustache ./networks/mainnet.json ./templates/v1.0.0-and-v1.1.0.yml > subgraph.yaml",
"prepare:matic": "mustache ./networks/matic.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:optimism": "mustache ./networks/optimism.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:rinkeby": "mustache ./networks/rinkeby.json ./templates/v1.0.0-and-v1.1.0.yml > subgraph.yaml",
"prepare:ropsten": "mustache ./networks/ropsten.json ./templates/v1.1.0.yml > subgraph.yaml",
"prettier": "prettier --config ./.prettierrc.yml --write \"**/*.{js,json,md,ts,yml}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yml \"**/*.{js,json,md,ts,yml}\""
}
}