emotz / kladovka

Optimizer of inventory for games
http://kladovka.herokuapp.com/
MIT License
0 stars 0 forks source link

switch from `start:prod` to launch scripts based on NODE_ENV #115

Open Eoksni opened 7 years ago

Eoksni commented 7 years ago

Having separate prod scripts pollute package.json s and are error prone - it is theoretically possible to run prod script in dev environment and vice versa. Better solution is to have certain launch script which checks what is the current environment and executes according command.