Install dependencies:
npm install
Start the server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Run tests:
npm run test
Lint code:
npm run lint
Format code with prettier:
npm run format
To create a production build with the API and frontend:
npm run build
To create a production build with the frontend only:
npm run static
To compile the Nearley grammar only:
npm run nearley
You can preview the production build with npm run preview
.
To build the static site and sync the capacitor project with the web app:
npm run mobile
To build the static site, sync the capacitor project, and open the project in Android Studio:
npm run android:dev
To build the static site, sync the capacitor project, and open the project in Android Studio:
npm run ios:dev