Fix NODE_ENV check. When not set, it is undefined, not ''.
Move rewire to dev deps
Merge pull request #1 from bengourley/master

Fix NODE_ENV check. When not set, it is undefined, not ''.