Nice article, but I think one of the most important points was not mentioned. The difference between devDependencies and dependencies when running npm install.
When you run npm install all dependencies are installed, both those in devDependencies and in dependencies, but when you run npm install --production only those in dependencies are installed. I have seen many devs always running npm install even in production.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article, but I think one of the most important points was not mentioned. The difference between devDependencies and dependencies when running
npm install.When you run
npm installall dependencies are installed, both those in devDependencies and in dependencies, but when you runnpm install --productiononly those in dependencies are installed. I have seen many devs always runningnpm installeven in production.