-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
57 lines (57 loc) · 3.82 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
{
"name": "thebadge-subgraph",
"license": "MIT",
"description": "Subgraph for TheBadge smart contracts",
"version": "1.1.2.rc4",
"scripts": {
"codegen:goerli": "node codegen/render-templates.js goerli && graph codegen",
"codegen:sepolia": "node codegen/render-templates.js sepolia && graph codegen",
"codegen:gnosis": "node codegen/render-templates.js gnosis && graph codegen",
"codegen:matic": "node codegen/render-templates.js matic && graph codegen",
"codegen:mumbai": "node codegen/render-templates.js mumbai && graph codegen",
"codegen:avalanche": "node codegen/render-templates.js avalanche && graph codegen",
"codegen:optimism": "node codegen/render-templates.js optimism && graph codegen",
"build:goerli": "yarn codegen:goerli && graph build",
"build:sepolia": "yarn codegen:sepolia && graph build",
"build:gnosis": "yarn codegen:gnosis && graph build",
"build:matic": "yarn codegen:matic && graph build",
"build:mumbai": "yarn codegen:mumbai && graph build",
"build:avalanche": "yarn codegen:avalanche && graph build",
"build:optimism": "yarn codegen:optimism && graph build",
"deploy:mumbai-dev": "yarn build:mumbai && graph deploy --version-label=${npm_package_version} --studio thebadge-mumbai-prod",
"deploy:sepolia-dev": "yarn build:sepolia && graph deploy --version-label=${npm_package_version} --studio thebadge-sepolia-dev",
"deploy:sepolia-staging": "yarn build:sepolia && graph deploy --version-label=${npm_package_version} --studio thebadge-sepolia-staging",
"deploy:goerli-dev-hosted": "yarn build:goerli && graph deploy --product hosted-service thebadgeadmin/thebadge-goerli-dev",
"deploy:goerli-dev": "yarn build:goerli && graph deploy --version-label=${npm_package_version} --studio thebadge-goerli-dev",
"deploy:goerli-staging": "yarn build:goerli && graph deploy --version-label=${npm_package_version} --studio thebadge-goerli-staging",
"deploy:gnosis-prod": "yarn build:gnosis && graph deploy --version-label=${npm_package_version} --studio thebadge-gnosis-prod",
"deploy:polygon-prod": "yarn build:matic && graph deploy --version-label=${npm_package_version} --studio thebadge-polygon-prod",
"deploy:matic-prod": "yarn build:matic && graph deploy --product hosted-service thebadgeadmin/thebadge-polygon-prod",
"deploy:avalanche": "yarn build:avalanche && graph deploy --version-label=${npm_package_version} --studio thebadge-avax-prod",
"deploy:optimism": "yarn build:optimism && graph deploy --version-label=${npm_package_version} --studio thebadge-optimism-prod",
"deploy:dev": "yarn deploy:goerli-dev && yarn deploy:sepolia-dev && yarn deploy:mumbai-dev",
"deploy:staging": "yarn deploy:goerli-staging && yarn deploy:sepolia-staging",
"deploy:prod": "yarn deploy:gnosis-prod && yarn deploy:polygon-prod",
"codegen": "graph codegen",
"build": "graph build",
"auth:hosted": "graph auth --product hosted-service eval $(grep THE_GRAPH_DEV_TESTING_AUTH_TOKEN .env | cut -d '=' -f2)",
"auth:studio": "graph auth --studio eval $(grep THE_GRAPH_SEPOLIA_TESTING_AUTH_TOKEN .env | cut -d '=' -f2)",
"create-local": "graph create --node http://localhost:8020/ thebadgeadmin/dev-testing",
"remove-local": "graph remove --node http://localhost:8020/ thebadgeadmin/dev-testing",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 thebadgeadmin/thebadge-development"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.62.0",
"@graphprotocol/graph-ts": "0.31.0"
},
"devDependencies": {
"mustache": "^4.0.1",
"@typescript-eslint/parser": "^5.38.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"eslint": "^8.23.1",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-rulesdir": "^0.2.1",
"eslint-config-prettier": "^8.5.0",
"typescript": "^4.8.3"
}
}