1.0 KiB
1.0 KiB
ABE — Build, Test & Development Commands
Install dependencies
npm install
cd frontend && npm install && cd ..
Build (backend)
npm run build
Build (frontend)
cd frontend && npm run build
Test
npm run test
Lint
npm run lint
Type check
npm run typecheck
Dev mode
npm run dev # backend con hot reload
cd frontend && npm run dev # frontend dev server
Database
npm run db:migrate # ejecutar migraciones Kysely
Docker
docker compose up -d --build
docker compose logs -f
docker compose down
Verificación completa (ejecutar después de CADA tarea)
npm run build && cd frontend && npm run build && cd .. && npm run test
Commit después de tarea completada
git add -A && git commit -m "fase(X.Y): descripción"
Notas
- Source code: src/
- Frontend: frontend/
- Tests: junto al código (*.test.ts) o en tests/
- Reports output: reports/
- Logs: logs/
- Database: data/abe.db