forked from danforbes/delivery-link
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.96 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
{
"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 && npm run docker:build && npm run truffle:init-setup",
"stop": "docker-compose down",
"test": "npm run truffle:test",
"docker:build": "export HOST_IP=$(ipconfig getifaddr en0) && docker-compose build && docker-compose up -d",
"truffle:add-jobs": "cd ./truffle && npx truffle exec ./scripts/add-jobs.js --network ganache && cd ..",
"truffle:fund-mainlink": "cd ./truffle && npx truffle exec ./scripts/fund-mainlink.js --network ganache && cd ..",
"truffle:init-setup": "npm run truffle:fund-mainlink && npm run truffle:prep-node && npm run truffle:add-jobs",
"truffle:migrate-ganache": "cd ./truffle/ && npx truffle migrate --network ganache && cd ..",
"truffle:migrate-ganache-reset": "cd ./truffle/ && npx truffle migrate --reset --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 ..",
"truffle:compile": "cd ./truffle/ && npx truffle compile && 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"
}
}