diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-26 19:00:56 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-27 23:47:04 +0800 |
commit | a2e4aaa9a394c359b9bf817ff154572eb33d4fb5 (patch) | |
tree | f8a034c2fcec9a83d9f83ed50dfd220b3965e33e /packages/react-shared | |
parent | 26e9696ddb004759a4a7c5f4a8901dc3255a70f9 (diff) | |
download | dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.gz dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.bz2 dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.lz dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.xz dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.zst dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.zip |
Add clean-state tests
Diffstat (limited to 'packages/react-shared')
-rw-r--r-- | packages/react-shared/README.md | 8 | ||||
-rw-r--r-- | packages/react-shared/package.json | 4 |
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", |