making react a peer dependency