Add truffle and ganache-cli as dev dependency

This commit is contained in:
bumi 2018-03-15 09:01:26 +01:00
parent f0211ff4c1
commit f0caa1208d
3 changed files with 4803 additions and 9 deletions

View File

@ -4,11 +4,15 @@ This repository contains all the contracts for Kredits as a [truffle framework](
## Development
### Installation
$ npm install
### Requirements
1. [truffle framework](http://truffleframework.com): `npm install -g truffle`
2. [ganache](http://truffleframework.com/ganache): `npm install -g ganache-cli`
* [truffle framework](http://truffleframework.com): `npm install -g truffle`
* [ganache](http://truffleframework.com/ganache): `npm install -g ganache-cli`
* [Open Zeppelin](https://github.com/OpenZeppelin/zeppelin-solidity)
For local development it is recommended to use [ganache-cli](https://github.com/trufflesuite/ganache-cli) (or the [ganache GUI](http://truffleframework.com/ganache/) to run a local development chain.
Using the ganache simulator no full Ethereum node is required.

4796
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,9 @@
"url": "https://github.com/67P/truffle-kredits/issues"
},
"homepage": "https://github.com/67P/truffle-kredits#readme",
"dependencies": {
"zeppelin-solidity": "^1.7.0"
"devDependencies": {
"zeppelin-solidity": "^1.7.0",
"truffle": "^4.1.3",
"ganache-cli": "^6.0.3"
}
}