From bd76193ac8052d55f829451ea81a01329dc5cff9 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 21 Oct 2015 17:26:57 -0400 Subject: [PATCH] add bignumber to dependencies so BigNumber can be used in onDeploy --- lib/deploy.js | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/deploy.js b/lib/deploy.js index c903222a..11ee3a9e 100644 --- a/lib/deploy.js +++ b/lib/deploy.js @@ -3,6 +3,7 @@ var fs = require('fs'); var grunt = require('grunt'); var readYaml = require('read-yaml'); var Config = require('./config/config.js'); +var BigNumber = require('bignumber.js'); Deploy = function(env, contractFiles, blockchainConfig, contractsConfig, chainManager, withProvider, withChain, _web3) { if (_web3 !== undefined) { diff --git a/package.json b/package.json index 5817c1b6..9da36b7c 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "shelljs": "^0.5.0", "solc": "^0.1.6", "toposort": "^0.2.10", - "web3": "^0.15.0", + "web3": "^0.8.1", + "bignumber.js": "debris/bignumber.js#master", "wrench": "^1.5.8", "ethersim": "^0.1.1" },