Currently, dops-components is quite strict in the versions of React defined in its dependencies.
This can cause some issues for projects using React 15.x.x and dops-components as they might be bundling 2 versions of react (with webpack for instance).
This PR makes react and react-dom peer and dev dependencies with broader version support for peer dependencies.
Currently,
dops-components
is quite strict in the versions of React defined in its dependencies. This can cause some issues for projects using React 15.x.x and dops-components as they might be bundling 2 versions of react (with webpack for instance).This PR makes
react
andreact-dom
peer and dev dependencies with broader version support for peer dependencies.It also explicitly upgrades
react-formsy
to0.18.1
(even though this version matched^0.17.0
) because it officially supports both versions of react: https://github.com/christianalfoni/formsy-react/blob/v0.18.1/package.json#L45