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/utils | |
parent | 26e9696ddb004759a4a7c5f4a8901dc3255a70f9 (diff) | |
parent | ec06d8d6067488b53183db392b4da91be0cc219e (diff) | |
download | dexon-0x-contracts-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar dexon-0x-contracts-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.gz dexon-0x-contracts-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.bz2 dexon-0x-contracts-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.lz dexon-0x-contracts-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.xz dexon-0x-contracts-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.tar.zst dexon-0x-contracts-066d13f5b7260d28b13195c4f9aed48b4ae96cc3.zip |
Merge pull request #480 from 0xProject/feature/clean-state-tests
Add clean-state tests
Diffstat (limited to 'packages/utils')
-rw-r--r-- | packages/utils/README.md | 8 | ||||
-rw-r--r-- | packages/utils/package.json | 5 | ||||
-rw-r--r-- | packages/utils/tsconfig.json | 6 |
3 files changed, 7 insertions, 12 deletions
diff --git a/packages/utils/README.md b/packages/utils/README.md index 22de85f4a..fde0780a9 100644 --- a/packages/utils/README.md +++ b/packages/utils/README.md @@ -10,10 +10,10 @@ yarn add @0xproject/utils 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/utils/package.json b/packages/utils/package.json index ffdd7fe2e..bc869fe1e 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -31,14 +31,13 @@ }, "dependencies": { "@0xproject/types": "^0.4.1", + "@0xproject/typescript-typings": "^0.0.1", "@types/node": "^8.0.53", "bignumber.js": "~4.1.0", "ethers-contracts": "^2.2.1", - "ethers-typescript-typings": "^0.0.4", "js-sha3": "^0.7.0", "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/utils/tsconfig.json b/packages/utils/tsconfig.json index 8114d99cd..c56d255d5 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -3,9 +3,5 @@ "compilerOptions": { "outDir": "lib" }, - "include": [ - "./src/**/*", - "../../node_modules/web3-typescript-typings/index.d.ts", - "../../node_modules/ethers-typescript-typings/index.d.ts" - ] + "include": ["./src/**/*"] } |