Files
glenloch-media/package.json
T
bhursey cb5976edb2
CI / build (push) Has been cancelled
feat(training): rich-text lessons with inline images and 25 MB manuals
Admins were authoring plain-text lessons, which made illustrated tutorials
and reordering images impossible. Lesson bodies are now sanitized HTML from a
Tiptap editor with alignment, sizing, drag-reorder and alt text, and inline
images reuse the training_resources table so no migration is needed.
Attachments grow to 25 MB, PDFs stream inline, and SVG is rejected because it
can execute as a document. Legacy plain-text bodies are normalized on read.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-20 12:18:24 +00:00

69 lines
1.9 KiB
JSON

{
"name": "glenlochmedia",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:seed": "tsx src/db/seed.ts",
"db:prune": "tsx src/db/prune.ts"
},
"dependencies": {
"@radix-ui/react-label": "^2.1.17",
"@radix-ui/react-slot": "^1.5.0",
"@tiptap/extension-image": "^3.34.0",
"@tiptap/pm": "^3.34.0",
"@tiptap/react": "^3.34.0",
"@tiptap/starter-kit": "^3.34.0",
"archiver": "^8.0.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"drizzle-orm": "^0.45.4",
"jose": "^6.2.17",
"lucide-react": "^1.74.0",
"next": "15.5.29",
"next-auth": "5.0.0-beta.32",
"nodemailer": "^10.6.0",
"postgres": "^4.1.1",
"react": "19.1.0",
"react-dom": "19.1.0",
"sanitize-html": "^2.18.2",
"sharp": "0.34.5",
"tailwind-merge": "^3.7.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^4.6.7"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@playwright/test": "^1.65.1",
"@tailwindcss/postcss": "^4",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.12",
"@types/archiver": "^8.0.0",
"@types/node": "^20",
"@types/nodemailer": "^8.0.2",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/sanitize-html": "^2.16.2",
"dotenv": "^18.0.10",
"drizzle-kit": "^0.31.11",
"eslint": "^9",
"eslint-config-next": "15.5.29",
"jsdom": "^31.0.1",
"shadcn": "^4.23.0",
"tailwindcss": "^4",
"tsx": "^4.19.1",
"typescript": "^5",
"vitest": "^5.1.0"
}
}