I'm a beginner when it comes to npm and I have doubts on what should be included in dependencies as opposed to devDependencies. I understand that testing libraries belong in dev, but what about tools like babel and webpack? Should they also be categorized as dev since they are used for transcompiling es6 and JSX into JavaScript? My understanding is that when deploying to Heroku, the necessary libraries already handle the transcompilation process, so there is no need to have them in production?
"dependencies": {
// List of dependencies...
},
"devDependencies": {
// List of devDependencies...
}