aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base-contract
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/base-contract
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/base-contract')
-rw-r--r--packages/base-contract/README.md9
-rw-r--r--packages/base-contract/package.json5
-rw-r--r--packages/base-contract/tsconfig.json6
3 files changed, 7 insertions, 13 deletions
diff --git a/packages/base-contract/README.md b/packages/base-contract/README.md
index fa2f3da10..a689d0130 100644
--- a/packages/base-contract/README.md
+++ b/packages/base-contract/README.md
@@ -10,11 +10,10 @@ yarn add @0xproject/base-contract
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",
- "./node_modules/ethers-typescript-typings/index.d.ts"
-]
+```json
+"compilerOptions": {
+ "typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
+}
```
## Usage
diff --git a/packages/base-contract/package.json b/packages/base-contract/package.json
index 4e0260417..554f0a41c 100644
--- a/packages/base-contract/package.json
+++ b/packages/base-contract/package.json
@@ -32,11 +32,10 @@
"dependencies": {
"@0xproject/types": "^0.4.1",
"@0xproject/web3-wrapper": "^0.3.1",
+ "@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/base-contract/tsconfig.json b/packages/base-contract/tsconfig.json
index 8114d99cd..c56d255d5 100644
--- a/packages/base-contract/tsconfig.json
+++ b/packages/base-contract/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/**/*"]
}