This repository has been archived by the owner on Sep 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
35 lines (35 loc) · 1.73 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
{
"name": "delivery-link",
"version": "1.0.0",
"description": "This is a workshop project that uses Chainlink to implement payment-on-delivery.",
"scripts": {
"chainlink:logs": "docker logs $(docker ps --filter \"NAME=chainlink\" --format \"{{.ID}}\")",
"remix": "npx remixd -s . --remix-ide https://remix.ethereum.org",
"remix:chainlink": "npx remixd -s ./node_modules/chainlink/contracts --remix-ide https://remix.ethereum.org",
"start": "npm stop ; npm run truffle:migrate-ganache && HOST_IP=$(ip -4 addr show docker0 | grep -Po 'inet \\K[\\d.]+') docker-compose up -d && npm run truffle:init-setup",
"stop": "docker-compose down",
"test": "npm run truffle:test",
"truffle:add-jobs": "cd ./truffle && npx truffle exec ./scripts/add-jobs.js --network ganache && cd ..",
"truffle:fund-dlink": "cd ./truffle && npx truffle exec ./scripts/fund-dlink.js --network ganache && cd ..",
"truffle:init-setup": "npm run truffle:fund-dlink && npm run truffle:prep-node && npm run truffle:add-jobs",
"truffle:migrate-ganache": "cd ./truffle/ && npx truffle migrate --network ganache && cd ..",
"truffle:prep-node": "cd ./truffle && npx truffle exec ./scripts/prep-node.js --network ganache && cd ..",
"truffle:test": "cd ./truffle/ && npx truffle test && cd .."
},
"repository": {
"type": "git",
"url": "git+https://github.com/danforbes/delivery-link.git"
},
"author": "Dan Forbes <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/danforbes/delivery-link/issues"
},
"homepage": "https://github.com/danforbes/delivery-link#readme",
"dependencies": {
"chainlink": "^0.7.8",
"link_token": "^1.0.6",
"remixd": "^0.1.8-alpha.14",
"truffle": "^5.0.43"
}
}