aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-27 23:47:45 +0800
committerGitHub <noreply@github.com>2018-03-27 23:47:45 +0800
commit066d13f5b7260d28b13195c4f9aed48b4ae96cc3 (patch)
tree5326f5b5789cc30ea6c5262a4ac19978737081ef /packages/deployer
parent26e9696ddb004759a4a7c5f4a8901dc3255a70f9 (diff)
parentec06d8d6067488b53183db392b4da91be0cc219e (diff)
downloaddexon-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/deployer')
-rw-r--r--packages/deployer/README.md8
-rw-r--r--packages/deployer/package.json2
-rw-r--r--packages/deployer/tsconfig.json5
3 files changed, 10 insertions, 5 deletions
diff --git a/packages/deployer/README.md b/packages/deployer/README.md
index 8fe82f59e..812e8c31b 100644
--- a/packages/deployer/README.md
+++ b/packages/deployer/README.md
@@ -18,6 +18,14 @@ yarn global add @0xproject/deployer
yarn add @0xproject/deployer
```
+If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:
+
+```json
+"compilerOptions": {
+ "typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
+}
+```
+
**Import**
```typescript
diff --git a/packages/deployer/package.json b/packages/deployer/package.json
index a8b847cd0..362bc659e 100644
--- a/packages/deployer/package.json
+++ b/packages/deployer/package.json
@@ -53,7 +53,6 @@
"chai": "^4.0.1",
"copyfiles": "^1.2.0",
"dirty-chai": "^2.0.1",
- "ethers-typescript-typings": "^0.0.4",
"mocha": "^4.0.1",
"nyc": "^11.0.1",
"shx": "^0.2.2",
@@ -68,6 +67,7 @@
"@0xproject/types": "^0.4.1",
"@0xproject/utils": "^0.4.3",
"@0xproject/web3-wrapper": "^0.3.1",
+ "@0xproject/typescript-typings": "^0.0.1",
"ethereumjs-util": "^5.1.1",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.4",
diff --git a/packages/deployer/tsconfig.json b/packages/deployer/tsconfig.json
index befcde5b7..a4cbc37c5 100644
--- a/packages/deployer/tsconfig.json
+++ b/packages/deployer/tsconfig.json
@@ -8,9 +8,6 @@
"./src/**/*",
"./test/**/*",
"../../node_modules/types-bn/index.d.ts",
- "../../node_modules/types-ethereumjs-util/index.d.ts",
- "../../node_modules/chai-typescript-typings/index.d.ts",
- "../../node_modules/ethers-typescript-typings/index.d.ts",
- "../../node_modules/web3-typescript-typings/index.d.ts"
+ "../../node_modules/types-ethereumjs-util/index.d.ts"
]
}