openshift/origin-server — pull request #5215 by Filirom1 (2014-04-10 14:08:45+00:00)
Title: nodejs cartridge: use npm install --production

In the [npm config doc](https://www.npmjs.org/doc/misc/npm-config.html) it's explained that `-d` means `--loglevel info`.

Moreover,

> By default, npm install will install all modules listed as dependencies. With the --production flag, npm will not install modules listed in devDependencies.

https://www.npmjs.org/doc/cli/npm-install.html

`devDependencies` are used for tests. We don't want to download tests dependencies when we deploy to openshift. It will make build faster for nodejs projects.