aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-26 19:00:56 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-27 23:47:04 +0800
commita2e4aaa9a394c359b9bf817ff154572eb33d4fb5 (patch)
treef8a034c2fcec9a83d9f83ed50dfd220b3965e33e /packages/connect
parent26e9696ddb004759a4a7c5f4a8901dc3255a70f9 (diff)
downloaddexon-0x-contracts-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar
dexon-0x-contracts-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.gz
dexon-0x-contracts-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.bz2
dexon-0x-contracts-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.lz
dexon-0x-contracts-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.xz
dexon-0x-contracts-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.zst
dexon-0x-contracts-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.zip
Add clean-state tests
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/**/*"]
}