-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
43 lines (43 loc) · 1.83 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
{
"name": "payments-subgraph",
"license": "MIT",
"homepage": "https://request.network",
"repository": {
"type": "git",
"url": "git+https://github.com/RequestNetwork/requestNetwork.git"
},
"scripts": {
"clean": "rm -Rf ./build && rm -Rf ./generated",
"codegen": "graph codegen ./subgraph.sepolia.yaml; graph codegen ./subgraph.near.yaml -o ./generated/near/",
"prepare": "yarn clean && yarn subgraph prepare && yarn codegen",
"build": "graph build",
"create-mantle-testnet": "graph create --node https://graph.testnet.mantle.xyz/deploy/ requestnetwork/request-payments-mantle-testnet",
"create-mantle": "graph create --node https://subgraph-api.mantle.xyz/deploy requestnetwork/request-payments-mantle",
"create-local": "graph create --node http://localhost:8020/ --access-token \"\" requestnetwork/request-payments-$NETWORK",
"remove-local": "graph remove --node http://localhost:8020/ --access-token \"\" requestnetwork/request-payments-$NETWORK",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 requestnetwork/request-payments-$NETWORK ./subgraph.$NETWORK.yaml",
"format": "yarn prettier --write \"./src/**/*.ts\"",
"subgraph": "ts-node -r dotenv/config ./cli"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.81.0",
"@graphprotocol/graph-ts": "^0.35.1",
"@requestnetwork/smart-contracts": "0.38.1-next.2087",
"graphql-request": "^3.5.0",
"ipfs-only-hash": "^4.0.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/lodash": "^4.14.196",
"@types/mustache": "^4.1.1",
"@types/node": "^18.0.0",
"@types/yargs": "^17.0.10",
"axios-cache-adapter": "^2.7.3",
"dotenv": "^16.0.1",
"ethers": "^5.2.0",
"mustache": "^4.2.0",
"ts-node": "^10.8.1",
"typescript": "^4.7.4",
"yargs": "^17.5.1"
}
}