The babel and webpack packages will go into the devDependencies section because these packages are used in when transpiling and bundle-ing your code into vanilla javascript in the bundle.js & etc file(s).
In production you will run your code off the bundle.js build/generated code will not require these dependencies anymore.