when I am using webpack recently, I have a question, that is, when I install dependencies,
if I use npm install-- save webpack, will show the newly installed dependencies in the dependencies in package.json. This is the dependencies just installed in the production environment
if I use npm install-- save-dev webpack, will show the newly installed dependencies in the devDependencies in package.json. This is the dependencies needed by the development environment
but if I use npm install webpack, There is nothing in package.json. Where is my installed dependency, the build environment or the development environment? Why not show it in package.json?
another: if a dependency is required by the production environment and also by local developers, should the two be installed separately, or how?