🎲 5x5 Tic-Tac-Toe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
618 B

4 years ago
  1. # Tic-Tac-Toe
  2. ## Installation
  3. Clone Repo
  4. ````
  5. git clone git@github.com:jhabdas/tictactoe.git
  6. ````
  7. Install dependencies
  8. ````
  9. cd tic-tac-toe
  10. npm i
  11. ````
  12. ### Start development server with hot reloading
  13. ````
  14. npm run dev
  15. ````
  16. ### Testing
  17. Run test once
  18. ````
  19. npm run test
  20. ````
  21. Test watch
  22. ````
  23. npm run test:watch
  24. ````
  25. ### Linting
  26. For linting we're using ESLint with a modified Airbnb Eslint config
  27. ````
  28. npm run lint
  29. ````
  30. ### Production
  31. Build for production
  32. ````
  33. npm run build
  34. ````
  35. Start production server
  36. ````
  37. npm start
  38. ````
  39. Requires pm2 for production server. Install it on globally with 'npm i -g pm2'.