Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 585 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 585 Bytes

run in dev

  • npm run build:watch - runs babel to transpile the server from es6 to es5 (watch mode)
  • npm run build:watch:client - runs webpack to build bundle (watch mode)
  • npm run start:dev - in parallel shells it calls build:watch:client build:watch:server and then runs the app in watch mode, using nodemon

prod

  • npm run build - runs babel to transpile the server from es6 to es5
  • npm run build:client - runs webpack to build bundle
  • npm run build:prod - builds both client and server
  • npm run start - it calls build:prod and then runs the app