Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EAKRDNzXtRrwmWz9z6PZu3
24 lines
499 B
Makefile
24 lines
499 B
Makefile
.PHONY: install lint typecheck test build check start
|
|
|
|
install:
|
|
npm install
|
|
|
|
lint:
|
|
npx biome check src
|
|
|
|
typecheck:
|
|
npx tsc --noEmit
|
|
|
|
test:
|
|
npm test
|
|
|
|
build:
|
|
npm run build
|
|
|
|
# Перед PR: всё вместе, вывод — в описание PR
|
|
check: install lint typecheck test build
|
|
|
|
# REACT_APP_ROOT_PATH=/ — иначе приложение ждёт префикс /aurora/apps/fastapi-dkb-armka и показывает белый экран
|
|
start:
|
|
REACT_APP_ROOT_PATH=/ npm run start
|