Skip to content
Snippets Groups Projects
  • Ray Schamp's avatar
    534feb9f
    Pin React devDependencies, add peerDependencies · 534feb9f
    Ray Schamp authored
    When the package is installed as a dependency, it should warn the installer that React is a peerDependency.  When installed this way, the devDependencies won't be installed, so only one version of React will be present. However when it's installed as a standalone project, React should be installed automatically as a devDependency.
    
    I think this gives us the best of both worlds — simple development setup as well as supporting usage as an installed package.
    534feb9f
    History
    Pin React devDependencies, add peerDependencies
    Ray Schamp authored
    When the package is installed as a dependency, it should warn the installer that React is a peerDependency.  When installed this way, the devDependencies won't be installed, so only one version of React will be present. However when it's installed as a standalone project, React should be installed automatically as a devDependency.
    
    I think this gives us the best of both worlds — simple development setup as well as supporting usage as an installed package.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This project manages its dependencies using npm. Learn more