Study/package.json
Elijah 85d5c9186d
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 1m0s
Fifth revision: share-link AI safety, sturdier generation, cleaner UI
- Malformed model JSON is sent back for repair, then retried; a failed job
  starts over once before it fails. Visitors can dismiss failed sets.
- Generated sets get a short distinct name and description; flashcards are
  atomic and have no hints; standard study shows known/learning counts.
- Share links: "In progress" list, finished sets join the normal lists with a
  "New" tag, plain progress steps, newest exam first.
- Share-link AI expires after a week, can be limited to the US or Arizona
  (DB-IP Lite or Cloudflare headers) and is locked by abuse protection
  (migration 8).
- The assistant never answers from general knowledge; MCP and web search
  tools load without a manual test.
- Plain-text copy, no question count in exam mode, filler text removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:17:50 -07:00

67 lines
2.1 KiB
JSON

{
"name": "study-desk",
"version": "2.0.0",
"private": true,
"type": "module",
"description": "Study Desk V2 - a self-hosted, single-user study platform with quizzes, spaced-repetition flashcards, documents, and AI.",
"engines": {
"node": ">=24"
},
"scripts": {
"dev": "concurrently -k -n api,web -c blue,magenta \"npm:dev:server\" \"npm:dev:web\"",
"dev:server": "tsx watch --clear-screen=false server/main.ts",
"dev:web": "vite",
"build": "npm run build:web && npm run build:server",
"build:web": "vite build",
"build:server": "node scripts/build-server.mjs",
"start": "node dist/server/main.js",
"typecheck": "tsc -p tsconfig.server.json --noEmit && tsc -p tsconfig.web.json --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"check": "npm run typecheck && npm run test && npm run build"
},
"dependencies": {
"@fontsource-variable/instrument-sans": "^5.3.0",
"@fontsource-variable/jetbrains-mono": "^5.3.0",
"@fontsource-variable/newsreader": "^5.3.0",
"@hono/node-server": "^2.1.6",
"@huggingface/transformers": "^4.3.2",
"@openuidev/lang-core": "^1.1.1",
"@openuidev/react-lang": "^1.1.1",
"@tanstack/react-query": "^5.107.1",
"clsx": "^2.1.1",
"fast-xml-parser": "^5.12.0",
"fflate": "^0.8.3",
"hono": "^4.13.17",
"jsonrepair": "^3.15.0",
"lucide-react": "^1.71.0",
"mammoth": "^1.13.0",
"mmdb-lib": "3.0.3",
"pdf-lib": "^1.17.1",
"pyodide": "^314.0.7",
"radix-ui": "^1.8.1",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-markdown": "^10.1.0",
"react-router": "^8.5.1",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.8",
"ts-fsrs": "^6.0.0",
"unpdf": "^2.1.0",
"zod": "^4.6.7"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.5",
"@types/node": "^26.6.6",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.3.0",
"concurrently": "^10.0.7",
"esbuild": "^0.28.2",
"tailwindcss": "^4.3.5",
"tsx": "^4.23.15",
"typescript": "^7.0.2",
"vite": "^8.3.8",
"vitest": "^5.1.0"
}
}