javascript - Which files should provided with node application to prod -


i've create nodejs application , i'll need ship ,my question if need following:

  • node modules

  • test folder

should put both in gitigonre file , if in addition should additional actions on application

you should .gitignore node_modules , npm install in every environment separately. need folder run.

you don't need test folder run app though. might want test app in production environment though, depends on needs.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

json - ORA-06502: PL/SQL: numeric or value error: character string buffer too small - Convert Clob to varchar2 -

ios - Swift Array Resetting Itself -