EN
npm - install only production dependencies
4
points
Quick solution:
npm ci install --production
Where:
cipreventsdependenciesversions update (package-lock.jsonfile will be not changed),--productioncauses packages installation withdevDependenciesomitting
(onlydependencieswill be installed innode_modules/directory).