cd6cab367a
- Create chessFormatDetector utility for automatic format detection - Update StartScreen with textarea supporting both FEN and PGN input - Add real-time format detection with visual feedback indicators - Update translations for all 4 languages (EN, DE, FR, IT) - Add markdown rendering for Tutor chat messages - Add comprehensive tests for format detection (20 tests) - Update game initialization to handle both FEN and PGN formats This completes the fix/stale-analysis-data branch with: - Fixed stale evaluation data in hint/best move requests - Clarified AI's dual role (opponent + tutor) to prevent hint rejection - Stored complete evaluation history (P0, P1, P2) for all moves - Improved end-game analysis with better mistake detection - Fixed duplicate analysis runs with useRef flag - Added markdown rendering for formatted analysis output - Added unified FEN/PGN import with auto-detection
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "chess_tutor",
|
|
"version": "0.1.0",
|
|
"license": "GPL-3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev -p 3050",
|
|
"build": "next build",
|
|
"start": "next start -p 3050",
|
|
"lint": "eslint",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@google/generative-ai": "^0.24.1",
|
|
"chess.js": "^1.4.0",
|
|
"clsx": "^2.1.1",
|
|
"lucide-react": "^0.554.0",
|
|
"next": "16.0.3",
|
|
"react": "19.2.0",
|
|
"react-chessboard": "^5.8.4",
|
|
"react-dom": "19.2.0",
|
|
"react-markdown": "^10.1.0",
|
|
"stockfish.js": "^10.0.2",
|
|
"tailwind-merge": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.0.3",
|
|
"jest": "^30.2.0",
|
|
"jest-environment-jsdom": "^30.2.0",
|
|
"tailwindcss": "^4",
|
|
"ts-jest": "^29.4.5",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5"
|
|
}
|
|
}
|