Files
filwordspl-frontend/package.json
T
Drobysh b1756ec822 📄 Lectures: pdf.js viewer в модалке вместо Google Viewer
- vite.config.ts: копирование pdf.worker + cMaps
- LecturesPage.tsx: react-pdf viewer с навигацией по страницам
- Скачивание через Telegram.WebApp.downloadFile (без изменений)
- Убрал Google Docs Viewer — приватность
2026-09-27 12:31:31 +03:00

34 lines
813 B
JSON

{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-pdf": "^11.0.0",
"react-router-dom": "^7.18.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^24.13.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"eslint": "^10.6.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
"globals": "^17.7.0",
"typescript": "~6.0.2",
"typescript-eslint": "^8.62.0",
"vite": "^8.1.1",
"vite-plugin-static-copy": "^4.1.1"
}
}