-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 2.39 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
{
"name": "subgraph",
"license": "Apache-2.0",
"version": "1.0.1",
"files": ["dist"],
"engines": {
"node": "18.x"
},
"scripts": {
"types": "graphql-codegen --config codegen.ts",
"package": "rimraf dist && tsc -p tsconfig.package.json",
"codegen": "graph codegen",
"build": "graph build",
"test": "graph test --version 0.5.4",
"deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ impactmarket/subgraph",
"deploy:alfajores": "graph deploy --node https://api.thegraph.com/deploy/ impactmarket/alfajores-subgraph",
"create-local": "graph create --node http://localhost:8020/ impactmarket/subgraph",
"remove-local": "graph remove --node http://localhost:8020/ impactmarket/subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 impactmarket/subgraph",
"prettier": "prettier --write \"./{src,tests}/**/*.ts\"",
"prettier:dryrun": "prettier -l \"./{src,tests}/**/*.ts\"",
"eslint": "eslint --fix \"./{src,tests}/**/*.ts\" --max-warnings=0",
"eslint:dryrun": "eslint \"./{src,tests}/**/*.ts\" --max-warnings=0",
"prepare:mainnet:subgraph": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"prepare:mainnet:addresses": "mustache config/mainnet.json src/common/addresses.template > src/common/addresses.ts",
"prepare:mainnet": "yarn prepare:mainnet:subgraph && yarn prepare:mainnet:addresses",
"prepare:alfajores:subgraph": "mustache config/alfajores.json subgraph.template.yaml > subgraph.yaml",
"prepare:alfajores:addresses": "mustache config/alfajores.json src/common/addresses.template > src/common/addresses.ts",
"prepare:alfajores": "yarn prepare:alfajores:subgraph && yarn prepare:alfajores:addresses"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.37.1",
"@graphprotocol/graph-ts": "0.29.1",
"matchstick-as": "0.5.0"
},
"devDependencies": {
"@babel/core": "7.20.7",
"@graphql-codegen/cli": "3.2.2",
"@graphql-codegen/typescript": "3.0.2",
"@graphql-codegen/typescript-resolvers": "3.1.1",
"eslint": "8.30.0",
"eslint-config-impact-market": "2.0.3",
"mustache": "4.2.0",
"prettier": "2.8.1",
"rimraf": "4.4.0",
"typescript": "~4.1.6"
}
}