Earlier quoted context omitted.
https://github.com/airbnb/react-dates/blob/master/package.js... A devDependency is not the same as a dependency.
It's a dev dependency because they use it in unit tests but it's also a peer dependency, meaning that if you want to use the library you need to include moment.
That's my error, thanks for the correction.