Use kredits-contracts from npm

This also configures the npm scripts to work with locally deployed
contracts
This commit is contained in:
2017-05-08 13:00:33 +02:00
parent 675dff7314
commit 3be14b945a
3 changed files with 13 additions and 4 deletions
+4 -2
View File
@@ -16,6 +16,7 @@
"repository": "",
"scripts": {
"start": "ember server",
"start-local": "KREDITS_CONTRACT_ADDR=`kredits-inspect -c Kredits -r -w address` TOKEN_CONTRACT_ADDR=`kredits-inspect -c Token -r -w address` npm start",
"test": "ember test",
"postinstall": "bower install",
"build": "ember build",
@@ -25,7 +26,8 @@
"kredits-console": "kredits-console",
"kredits-parity": "kredits-parity",
"kredits-deploy": "kredits-deploy",
"kredits-inspect": "kredits-inspect"
"kredits-inspect": "kredits-inspect",
"kredits-seed": "kredits-seed"
},
"devDependencies": {
"babel-preset-es2015": "^6.22.0",
@@ -51,7 +53,7 @@
"ember-load-initializers": "^0.5.1",
"ember-resolver": "^2.0.3",
"ipfs-api": "^12.1.7",
"kredits-contracts": "67p/kredits-contracts",
"kredits-contracts": "^2.0.4",
"loader.js": "^4.0.10",
"web3": "^0.18.2"
},