aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect
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/connect
parenteb89ef79eba3d044e10b8e52e20927bb88241ac2 (diff)
parent066d13f5b7260d28b13195c4f9aed48b4ae96cc3 (diff)
downloaddexon-sol-tools-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar
dexon-sol-tools-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.gz
dexon-sol-tools-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.bz2
dexon-sol-tools-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.lz
dexon-sol-tools-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.xz
dexon-sol-tools-005376276098a4e6cb832eaf5b5dbc07118e1f50.tar.zst
dexon-sol-tools-005376276098a4e6cb832eaf5b5dbc07118e1f50.zip
merge developmentx
Diffstat (limited to 'packages/connect')
-rw-r--r--packages/connect/README.md8
-rw-r--r--packages/connect/package.json6
-rw-r--r--packages/connect/tsconfig.json8
3 files changed, 7 insertions, 15 deletions
diff --git a/packages/connect/README.md b/packages/connect/README.md
index 393ea70a0..7087214d6 100644
--- a/packages/connect/README.md
+++ b/packages/connect/README.md
@@ -10,10 +10,10 @@ yarn add @0xproject/connect
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"],
+}
```
## Usage
diff --git a/packages/connect/package.json b/packages/connect/package.json
index ae243f288..3e9f3053c 100644
--- a/packages/connect/package.json
+++ b/packages/connect/package.json
@@ -53,6 +53,7 @@
"@0xproject/json-schemas": "^0.7.17",
"@0xproject/types": "^0.4.1",
"@0xproject/utils": "^0.4.3",
+ "@0xproject/typescript-typings": "^0.0.1",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.4",
"query-string": "^5.0.1",
@@ -69,8 +70,6 @@
"async-child-process": "^1.1.1",
"chai": "^4.0.1",
"chai-as-promised": "^7.1.0",
- "chai-as-promised-typescript-typings": "^0.0.12",
- "chai-typescript-typings": "^0.0.6",
"copyfiles": "^1.2.0",
"dirty-chai": "^2.0.1",
"fetch-mock": "^5.13.1",
@@ -80,8 +79,7 @@
"shx": "^0.2.2",
"tslint": "5.8.0",
"typedoc": "~0.8.0",
- "typescript": "2.7.1",
- "web3-typescript-typings": "^0.10.2"
+ "typescript": "2.7.1"
},
"publishConfig": {
"access": "public"
diff --git a/packages/connect/tsconfig.json b/packages/connect/tsconfig.json
index fd9e604ad..e35816553 100644
--- a/packages/connect/tsconfig.json
+++ b/packages/connect/tsconfig.json
@@ -3,11 +3,5 @@
"compilerOptions": {
"outDir": "lib"
},
- "include": [
- "./src/**/*",
- "./test/**/*",
- "../../node_modules/web3-typescript-typings/index.d.ts",
- "../../node_modules/chai-as-promised-typescript-typings/index.d.ts",
- "../../node_modules/chai-typescript-typings/index.d.ts"
- ]
+ "include": ["./src/**/*", "./test/**/*"]
}