aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-28 02:16:13 +0800
committerFabio Berger <me@fabioberger.com>2018-03-28 02:16:13 +0800
commit005376276098a4e6cb832eaf5b5dbc07118e1f50 (patch)
tree543a431a5fd2a17f3b3582cfb0910f8c85357ac1 /packages/web3-wrapper
parenteb89ef79eba3d044e10b8e52e20927bb88241ac2 (diff)
parent066d13f5b7260d28b13195c4f9aed48b4ae96cc3 (diff)
downloaddexon-0x-contracts-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar
dexon-0x-contracts-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.gz
dexon-0x-contracts-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.bz2
dexon-0x-contracts-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.lz
dexon-0x-contracts-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.xz
dexon-0x-contracts-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.zst
dexon-0x-contracts-005376276098a4e6cb832eaf5b5dbc07118e1f50.zip
merge developmentx
Diffstat (limited to 'packages/web3-wrapper')
-rw-r--r--packages/web3-wrapper/README.md8
-rw-r--r--packages/web3-wrapper/package.json5
-rw-r--r--packages/web3-wrapper/tsconfig.json6
3 files changed, 7 insertions, 12 deletions
diff --git a/packages/web3-wrapper/README.md b/packages/web3-wrapper/README.md
index 1fed11407..e7491acb0 100644
--- a/packages/web3-wrapper/README.md
+++ b/packages/web3-wrapper/README.md
@@ -12,10 +12,10 @@ yarn add @0xproject/web3-wrapper
If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:
-```
-"include": [
- "./node_modules/web3-typescript-typings/index.d.ts",
-]
+```json
+"compilerOptions": {
+ "typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
+}
```
## Contributing
diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json
index 176f796c8..fa79fa377 100644
--- a/packages/web3-wrapper/package.json
+++ b/packages/web3-wrapper/package.json
@@ -45,11 +45,10 @@
"dependencies": {
"@0xproject/types": "^0.4.1",
"@0xproject/utils": "^0.4.3",
+ "@0xproject/typescript-typings": "^0.0.1",
"ethers-contracts": "^2.2.1",
- "ethers-typescript-typings": "^0.0.4",
"lodash": "^4.17.4",
- "web3": "^0.20.0",
- "web3-typescript-typings": "^0.10.2"
+ "web3": "^0.20.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/web3-wrapper/tsconfig.json b/packages/web3-wrapper/tsconfig.json
index 7bae7f9f0..c56d255d5 100644
--- a/packages/web3-wrapper/tsconfig.json
+++ b/packages/web3-wrapper/tsconfig.json
@@ -3,9 +3,5 @@
"compilerOptions": {
"outDir": "lib"
},
- "include": [
- "./src/**/*",
- "../../node_modules/ethers-typescript-typings/index.d.ts",
- "../../node_modules/web3-typescript-typings/index.d.ts"
- ]
+ "include": ["./src/**/*"]
}