jt3k / chat-linker

the bridge between jabber and telegram over chat-bots
MIT License
46 stars 9 forks source link

Setup environment with cross-env #35

Closed ForNeVeR closed 7 years ago

ForNeVeR commented 7 years ago

Windows users are reporting that they are unable to execute npm run prod because prod script if defined as NODE_ENV=prod node app.js in our package.json.

We need to use cross-env to set the environment variable uniformly across the platforms.