forked from sablier-labs/legacy-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 5.25 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
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "@ajira-pay-finance/subgraph",
"description": "Subgraph for the Ajira Pay Finance V2 token distribution protocol",
"version": "1.0.0",
"author": {
"name": "Ajira Pay Finance",
"url": "https://ajirapay.finance"
},
"bugs": {
"url": "https://github.com/Tujiajiri-Africa/v1-subgraph/issues"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.67.3",
"@graphprotocol/graph-ts": "^0.32.0",
"@sablier/eslint-config": "^1.0.1",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"mustache": "^4.2.0",
"prettier": "^3.2.5",
"typescript": "^5.3.3"
},
"license": "LGPL-3.0",
"private": true,
"repository": "github.com/Tujiajiri-Africa/v1-subgraph",
"scripts": {
"build": "graph build",
"clean": "rm -rf ./build ./src/types ./subgraph.yaml",
"codegen": "graph codegen --output-dir src/types/",
"deploy_studio": "graph deploy $SUBGRAPH --ipfs https://api.thegraph.com/ipfs/ --node https://api.studio.thegraph.com/deploy/",
"deploy": "graph deploy $SUBGRAPH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy:linea_mainnet": "graph deploy $SUBGRAPH --ipfs https://graph-ipfs.linea.build --node https://graph-deploy.linea.build",
"deploy:linea_mainnet_graph_studio": "graph deploy --studio ajirapay-linea-mainnet",
"deploy:linea_testnet": "graph deploy --product hosted-service $SUBGRAPH --ipfs https://graph-ipfs.goerli.linea.build --node https://graph-deploy.goerli.linea.build",
"deploy:arbitrum": "yarn prepare:arbitrum && SUBGRAPH=tujiajiri-africa/ajirapay-arbitrum yarn deploy",
"deploy:arbitrum-on-studio": "yarn prepare:arbitrum && SUBGRAPH=ajirapay-arbitrum yarn deploy_studio",
"deploy:polygon-pos": "yarn prepare:polygon-pos && SUBGRAPH=tujiajiri-africa/ajirapay-polygon yarn deploy",
"deploy:polygon-pos-on-studio": "yarn prepare:polygon-pos && SUBGRAPH=ajirapay-polygon yarn deploy_studio",
"deploy:avalanche": "yarn prepare:avalanche && SUBGRAPH=sablier-labs/sablier-avalanche yarn deploy",
"deploy:linea_studio": "yarn prepare:linea-mainnet && SUBGRAPH=ajirapay-linea yarn deploy_studio",
"deploy:bsc": "yarn prepare:bsc && SUBGRAPH=ajirapay-bsc yarn deploy_studio",
"deploy:celo": "yarn prepare:celo && SUBGRAPH=ajirapay-celo yarn deploy_studio",
"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",
"deploy:linea-mainnet": "yarn prepare:linea-mainnet && SUBGRAPH=ajirapay-finance/ajirapay-linea-mainnet yarn deploy:linea_mainnet",
"deploy:linea-mainnet-on-studio": "yarn prepare:linea-mainnet graph init --studio ajirapay-linea-mainnet graph auth --studio 440bf648812996627ee4945f30446810 yarn deploy:linea_mainnet_graph_studio",
"deploy:linea-goerli": "yarn prepare:linea-goerli && SUBGRAPH=tujiajiri-africa/ajirapay-linea-goerli yarn deploy:linea_testnet",
"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",
"prepare:linea-mainnet": "mustache ./networks/linea-mainnet.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:linea-goerli": "mustache ./networks/linea-goerli.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:polygon-pos": "mustache ./networks/polygon.json ./templates/v1.1.0.yml > subgraph.yaml",
"prepare:celo": "mustache ./networks/celo.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}\""
}
}