Add bigNumber dependency

This commit is contained in:
Fabio Berger
2017-05-24 17:17:58 +02:00
committed by Leonid Logvinov
parent f86159e717
commit a7f1137db8
2 changed files with 9 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
declare module 'web3' {
import * as BigNumber from 'bignumber.js';
class Web3 {
public static providers: typeof providers;

View File

@@ -12,5 +12,11 @@
"bugs": {
"url": "https://github.com/0xProject/web3-typescript-typings/issues"
},
"homepage": "https://github.com/0xProject/web3-typescript-typings#readme"
"homepage": "https://github.com/0xProject/web3-typescript-typings#readme",
"devDependencies": {
"@types/bignumber.js": "^4.0.2"
},
"dependencies": {
"bignumber.js": "^4.0.2"
}
}