Question: npm do not install dev dependencies?
Answer: Use npm install --only=prod (or --only=production ) to install only dependencies , and not devDependencies, regardless of the value of the NODE_ENV environment variable. Note: Before v3. 3.0 of npm (2015-08-13), the option was called --production , i.e. npm install --production .