Skip to content

Maple-Code-Crafters/tic-tac-toe

Repository files navigation

tic-tac-toe

Workflow

  • main branch (Prod)

  • dev branch (Development)

  • Branching from dev and PR to dev

  • dev to main for release to Prod

  • Gitflow workflow

Ionic

Vite

Setup

npm i

Plugins

  • After adding or updating any Capacitor plugin, run ionic capacitor sync

Development

npm start

Test

npm run test.unit

npm run test.unit:debu <test file name> to run only one test

  • Cypress

  • Cypress needs the app/server running to work

npm run test.e2e

Build

npm run build

Android

  • To add android app: ionic capacitor add android

  • Install Android Studio

  • Running for Android

  • To copy source code changes: npm run build:android

iOS

  • To add ios app: ionic capacitor add ios

  • Install Xcode (only Mac)

  • Running for iOS

  • To copy source code changes: npm run build:ios

Generate icon and splash screemn