This makes it easier to handle truffle arguments which we for example need to specify the network. So we ask the user for input instead on using the argv array which might change.
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "kredits-contracts",
|
|
"version": "1.0.0",
|
|
"description": "Ethereum contracts and npm wrapper for Kredits",
|
|
"main": "./lib/kredits.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"build-json": "truffle compile && node ./scripts/build-json.js",
|
|
"bootstrap": "truffle migrate --reset && truffle exec scripts/seeds.js && npm run build-json",
|
|
"ganache": "ganache-cli -p 7545 -i 100 --db=./.ganache-db -m kredits",
|
|
"dev": "truffle migrate && npm run build-json",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/67P/truffle-kredits.git"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/67P/truffle-kredits/issues"
|
|
},
|
|
"homepage": "https://github.com/67P/truffle-kredits#readme",
|
|
"devDependencies": {
|
|
"ganache-cli": "^6.0.3",
|
|
"promptly": "^3.0.3",
|
|
"truffle": "^4.1.3",
|
|
"zeppelin-solidity": "^1.7.0"
|
|
},
|
|
"dependencies": {
|
|
"ethers": "^3.0.15",
|
|
"ipfs-api": "^19.0.0",
|
|
"rsvp": "^4.8.2"
|
|
}
|
|
}
|