Automatic installation of peer dependencies is unsupported from npm@3 onward, moving moment and moment range to dependencies avoids user confusion when using the package.
React and react-dom are still listed in peer-dependencies but a real-world usage means that the project lives with these dependencies by default, which may not be the case for moment and specially moment-range. They are production dependencies as well (the package cannot run without them or we have an unmet dependency error), which is why they were removed from devDependencies.
Automatic installation of peer dependencies is unsupported from npm@3 onward, moving moment and moment range to dependencies avoids user confusion when using the package.
React and react-dom are still listed in peer-dependencies but a real-world usage means that the project lives with these dependencies by default, which may not be the case for moment and specially moment-range. They are production dependencies as well (the package cannot run without them or we have an unmet dependency error), which is why they were removed from devDependencies.
Feel free to discuss below!