Pindahkan konten architecture dan conventions ke docs/ARCHITECTURE.md dan docs/CONVENTIONS.md, lalu referensikan via @path di CLAUDE.md agar file tetap ramping. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
936 B
Markdown
34 lines
936 B
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Project Overview
|
|
|
|
**Desa+** is a React Native (Expo) mobile app for village administration — managing announcements, projects, discussions, members, divisions, and documents. Primary platforms are Android and iOS.
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
npm run start # Start Expo dev server
|
|
npm run android # Run on Android
|
|
npm run ios # Run on iOS
|
|
npm run lint # Expo lint
|
|
npm run test # Jest tests
|
|
npm run build:android # Production Android build via EAS (bumps version first)
|
|
```
|
|
|
|
Run a single test file:
|
|
```bash
|
|
bunx jest path/to/test.tsx --no-coverage
|
|
```
|
|
|
|
> Project uses **Bun** as the package manager (`bun.lock` present). Use `bun add` / `bunx` instead of `npm install` / `npx`.
|
|
|
|
## Architecture
|
|
|
|
See @docs/ARCHITECTURE.md
|
|
|
|
## Key Conventions
|
|
|
|
See @docs/CONVENTIONS.md
|