diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-27 23:47:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 23:47:45 +0800 |
commit | 066d13f5b7260d28b13195c4f9aed48b4ae96cc3 (patch) | |
tree | 5326f5b5789cc30ea6c5262a4ac19978737081ef /packages/connect | |
parent | 26e9696ddb004759a4a7c5f4a8901dc3255a70f9 (diff) | |
parent | ec06d8d6067488b53183db392b4da91be0cc219e (diff) | |
download | dexon-sol-tools-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar dexon-sol-tools-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.gz dexon-sol-tools-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.bz2 dexon-sol-tools-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.lz dexon-sol-tools-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.xz dexon-sol-tools-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.zst dexon-sol-tools-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.zip |
Merge pull request #480 from 0xProject/feature/clean-state-tests
Add clean-state tests
Diffstat (limited to 'packages/connect')
-rw-r--r-- | packages/connect/README.md | 8 | ||||
-rw-r--r-- | packages/connect/package.json | 6 | ||||
-rw-r--r-- | packages/connect/tsconfig.json | 8 |
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/**/*"] } |