Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 1011 Bytes

CONTRIBUTING.md

File metadata and controls

76 lines (50 loc) · 1011 Bytes

Developing

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

Building

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.

Mobile development

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