aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-shared
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/react-shared
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/react-shared')
-rw-r--r--packages/react-shared/README.md8
-rw-r--r--packages/react-shared/package.json4
2 files changed, 10 insertions, 2 deletions
diff --git a/packages/react-shared/README.md b/packages/react-shared/README.md
index da7ff83af..9165cf78d 100644
--- a/packages/react-shared/README.md
+++ b/packages/react-shared/README.md
@@ -8,6 +8,14 @@ Contains React components & frontend types/utils shared between 0x projects.
yarn add @0xproject/react-shared
```
+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"],
+}
+```
+
## Contributing
We strongly encourage that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.
diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json
index e5201536e..8b7a0ebbb 100644
--- a/packages/react-shared/package.json
+++ b/packages/react-shared/package.json
@@ -33,8 +33,8 @@
"@types/lodash": "4.14.104",
"@types/material-ui": "0.18.0",
"@types/node": "^8.0.53",
- "@types/react": "^15.0.15",
- "@types/react-dom": "^0.14.23",
+ "@types/react": "^16.0.34",
+ "@types/react-dom": "^16.0.3",
"@types/react-scroll": "0.0.31",
"basscss": "^8.0.3",
"is-mobile": "^0.2.2",