Files
hr-appeals/server/package.json
T
gorbenko.pavel 07a44e3b0e chore: запуск auth-сервиса локально одной командой
npm run dev читает server/.env через --env-file (нативно в Node 20+),
чтобы не передавать GRAPH_* руками при каждом старте. Без запущенного
сервиса на 3100 vite-прокси отдаёт 500, что легко принять за баг формы.

.env добавлен в .gitignore, в репозиторий положен только .env.example.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-24 12:52:07 +05:00

25 lines
512 B
JSON

{
"name": "hr-appeals-auth",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsc && node --env-file=.env dist/index.js",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"express": "^4.21.2",
"jsonwebtoken": "^9.0.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^22.20.1",
"typescript": "~5.8.0"
}
}