Windows:
set NODE_ENV=production
Linux
export NODE_ENV=production
Nodejs 环境设置
原文:http://www.cnblogs.com/perzy/p/4048045.html