---
alwaysApply: true
---
# Building Guidelines

## Configurations

- The project supports builds using **Vite** for web and **Capacitor** for hybrid
  apps.
- Capacitor is used for **iOS**, **Android**, and **Electron** targets.
- All builds support three modes: **development**, **testing**, and **production**.

## Build Scripts

- `build-web.sh`
  - Builds a **web-only application**.
  - Defaults to **development mode** unless overridden.

- `build-ios.sh`
  - Builds an **iOS hybrid native application** using Capacitor.

- `build-android.sh`
  - Builds an **Android hybrid native application** using Capacitor.

- `build-electron.sh`
  - Builds an **Electron hybrid desktop application** using Capacitor.

## npm Scripts

- npm scripts delegate to the `build-*` shell scripts.
- Parameter flags determine the **build mode** (`development`, `testing`, `production`).
