-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 1.36 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
{
"name": "example",
"version": "0.1.0",
"repository": "https://github.com/graphprotocol/example-subgraph",
"license": "MIT",
"scripts": {
"build-contract": "solc contracts/Gravity.sol --abi -o abis --overwrite && solc contracts/Gravity.sol --bin -o bin --overwrite",
"create-testnet": "graph create example --node https://graph.testnet.mantle.xyz/deploy/",
"create-local": "graph create example --node http://127.0.0.1:8020",
"remove-testnet": "graph remove example --node https://graph.testnet.mantle.xyz/deploy/",
"remove-local": "graph remove example --node http://localhost:8020",
"codegen": "graph codegen",
"build": "graph build",
"deploy-testnet": "graph deploy example --ipfs https://ipfs.testnet.mantle.xyz --node https://graph.testnet.mantle.xyz/deploy",
"deploy-local": "graph deploy example --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020",
"redeploy-local": "yarn remove-local && yarn create-local && yarn deploy-local",
"redeploy": "yarn remove-testnet && yarn create-testnet && yarn deploy-testnet"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.30.2",
"@graphprotocol/graph-ts": "^0.27.0"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"babel-register": "^6.26.0",
"truffle": "^5.0.4",
"truffle-contract": "^4.0.5",
"truffle-hdwallet-provider": "^1.0.4"
}
}