-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 2.47 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
{
"name": "doublechain-subgraph",
"version": "1.0",
"scripts": {
"trace": "MODE=trace truffle test",
"coverage": "yarn clean && MODE=coverage truffle test; istanbul report html && yarn open-coverage",
"profile": "yarn clean && MODE=profile truffle test; istanbul report html && yarn open-coverage",
"clean": "shx rm -rf coverage",
"open-coverage": "open-cli ./coverage/index.html",
"ganache": "ganache-cli -h 0.0.0.0 -p 8545 -m -d -b 3 -i 333",
"ganache-proxy": "ganache-http-proxy",
"truffle": "truffle compile --all && truffle migrate --network ganachecli --reset",
"build": "graph build",
"graph-node": "sudo rm -rf graph-node/docker/data/postgres && docker-compose -f graph-node/docker/docker-compose.yml up",
"graph-node-wsl": "sudo rm -rf $wr/graph-node/docker/data/postgres && docker-compose -f $wr/graph-node/docker/docker-compose.yml up",
"create": "graph create doublechain/subgraph --access-token 4dfbd211170348ae87b1d98a48f0541d --node https://api.thegraph.com/deploy/",
"create-local": "graph create doublechain/subgraph --access-token 4dfbd211170348ae87b1d98a48f0541d --node http://127.0.0.1:8020",
"codegen": "graph codegen",
"deploy": "graph deploy doublechain/subgraph --access-token 4dfbd211170348ae87b1d98a48f0541d --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-local": "graph deploy doublechain/subgraph --access-token 4dfbd211170348ae87b1d98a48f0541d --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"remove-subgraph": "graph remove doublechain/subgraph --access-token 4dfbd211170348ae87b1d98a48f0541d --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"mocklists": "truffle exec mock/CreateListings.js --network ganachecli",
"mockbuyers": "truffle exec mock/AddBuyers.js --network ganachecli",
"mocksuppliers": "truffle exec mock/SuppliersBid.js --network ganachecli",
"mockreveal": "truffle exec mock/RevealBids.js --network ganachecli",
"fundAcc": "truffle exec mock/FundAccs.js --network ganachecli",
"test": "truffle test"
},
"devDependencies": {
"@graphprotocol/graph-ts": "^0.17.0",
"@truffle/hdwallet-provider": "^1.0.33",
"openzeppelin-solidity": "^2.2.0",
"truffle": "^5.1.30"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}