updated npm scripts

This commit is contained in:
bumi 2019-03-24 00:58:56 +01:00
parent 1594bf0e17
commit e7affdb531
2 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,7 @@ let contractCalls = [
['Proposal', 'addProposal', [{ contributorId: 2, amount: 42, kind: 'code', description: 'runs the seeds', url: '' }, {gasLimit: 350000}]],
['Proposal', 'addProposal', [{ contributorId: 3, amount: 23, kind: 'code', description: 'runs the seeds', url: '' }, {gasLimit: 350000}]],
['Proposal', 'addProposal', [{contributorId: 3, amount: 100, kind: 'code', description: 'hacks on kredits', url: '' }, {gasLimit: 350000}]],
['Proposal', 'vote', ['1', {gasLimit: 250000}]],
['Proposal', 'vote', [1, {gasLimit: 550000}]],
['Contribution', 'addContribution', [{contributorAccount: '0xa502eb4021f3b9ab62f75b57a94e1cfbf81fd827', amount: 100, kind: 'code', description: 'hacks on kredits', url: '' }, {gasLimit: 350000}]],
];
let funds = [

View File

@ -8,10 +8,11 @@
},
"scripts": {
"build-json": "aragon contracts compile --all && node ./scripts/build-json.js",
"reset": "truffle migrate --reset && npm run build-json",
"bootstrap": "npm run reset && truffle exec scripts/seeds.js",
"ganache": "ganache-cli -p 7545 -i 100 --db=./.ganache-db -m kredits",
"dev": "truffle migrate && npm run build-json",
"repl": "truffle exec scripts/repl/js",
"compile-contracts": "aragon contracts compile --all",
"bootstrap": "npm run compile-contracts && npm run deploy-dev && truffle exec scripts/seeds.js",
"deploy-dev": "ENS=0x5f6f7e8cc7346a11ca2def8f827b7a0b612c56a1 aragon contracts exec scripts/deploy-kit.js",
"devchain": "aragon devchain",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {