Full refactor of the tests to use await method

This commit is contained in:
Jordi Baylina
2017-10-21 09:10:44 +02:00
parent b828579608
commit 5665bd4e9a
23 changed files with 5321 additions and 3231 deletions

View File

@@ -1,14 +1,14 @@
{
"name": "minimetoken",
"version": "0.1.7",
"version": "0.2.0",
"description": "MiniMe contract",
"main": "dist/minimetoken.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "mocha --compilers js:babel-core/register",
"build": "rm -rf dist/* && babel-node js/compile.js && babel js/minimetoken.js -o dist/minimetoken.js"
"build": "solcpiler",
"test": "solcpiler; mocha --harmony"
},
"repository": {
"type": "git",
@@ -32,16 +32,20 @@
},
"homepage": "https://github.com/Giveth/minime",
"dependencies": {
"async": "^2.1.4",
"bignumber.js": "^4.0.0",
"ethconnector": "0.0.24",
"lodash": "^4.17.4",
"runethtx": "0.0.7"
"eth-contract-class": "0.0.6"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-2": "^6.22.0"
"babel-eslint": "^7.2.3",
"eslint-config-airbnb": "^15.0.1",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.1.0",
"ethereumjs-testrpc": "git://github.com/perissology/testrpc.git#81216dbc",
"lerna": "^2.2.0",
"random-bytes": "^1.0.0",
"mocha": "^3.5.0",
"solcpiler": "0.0.6",
"web3": "git://github.com/perissology/web3.js.git#all_fixes",
"chai": "^4.1.0"
}
}