.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
