Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

3.5 KB
Raw Blame
{
  "name": "opentutor-web",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "node ./scripts/dev.mjs",
    "predev": "node ./scripts/copy-pdfjs-assets.mjs",
    "dev:turbo": "node ./scripts/dev.mjs --turbopack",
    "predev:turbo": "node ./scripts/copy-pdfjs-assets.mjs",
    "build": "node ./scripts/build.mjs",
    "start": "next start",
    "lint": "eslint .",
    "typecheck": "node ./scripts/typecheck.mjs",
    "test:node": "node ./scripts/run-node-tests.mjs",
    "test:unit": "vitest run",
    "test:unit:watch": "vitest",
    "contracts:generate": "node ./scripts/generate-contracts.mjs",
    "contracts:check": "node ./scripts/generate-contracts.mjs --check",
    "check:fast": "npm run contracts:check && npm run architecture:check && npm run typecheck && npm run test:node && npm run test:unit && npm run lint && npm run i18n:check",
    "check": "npm run check:fast && npm run build && npm run perf:check",
    "perf:check": "node ./scripts/route_budgets.mjs",
    "build:perf": "npm run build && npm run perf:check",
    "i18n:parity": "node ./scripts/i18n_parity.mjs",
    "i18n:audit": "node ./scripts/i18n_audit.mjs",
    "i18n:audit:strict": "node ./scripts/i18n_audit.mjs --strict",
    "i18n:check": "npm run i18n:parity && npm run i18n:audit",
    "architecture:check": "depcruise --config .dependency-cruiser.cjs app components context contracts features hooks lib shared",
    "audit": "playwright test --project=ui-audit",
    "audit:ui": "playwright test --ui --project=ui-audit",
    "audit:report": "playwright show-report",
    "test:e2e:critical": "playwright test --project=critical-turns",
    "test:e2e:multi-worker": "playwright test --project=multi-worker-turns-desktop --project=multi-worker-turns-mobile",
    "build:brand-icons": "tsx ./scripts/build-brand-icons.mts",
    "sync:logo": "node ./scripts/sync-logo-assets.mjs"
  },
  "dependencies": {
    "@blocknote/core": "0.56.0",
    "@blocknote/react": "0.56.0",
    "@recogito/text-annotator": "4.2.5",
    "chart.js": "^4.5.1",
    "clsx": "^2.1.1",
    "cytoscape": "^3.33.1",
    "date-fns": "^4.4.0",
    "docx-preview": "^0.3.7",
    "epubjs": "^0.3.93",
    "exceljs": "^4.4.0",
    "framer-motion": "^12.24.0",
    "html2canvas": "^1.4.1",
    "i18next": "^25.8.0",
    "jspdf": "^4.2.0",
    "katex": "0.16.27",
    "lucide-react": "^0.562.0",
    "mdast-util-from-markdown": "^2.0.2",
    "mermaid": "^11.14.0",
    "next": "^16.2.3",
    "pdfjs-dist": "^6.2.108",
    "react": "^19.0.0",
    "react-chartjs-2": "^5.3.1",
    "react-dom": "^19.0.0",
    "react-i18next": "^16.5.3",
    "react-markdown": "^10.1.0",
    "react-syntax-highlighter": "^16.1.1",
    "rehype-katex": "^7.0.1",
    "rehype-raw": "^7.0.0",
    "remark-gfm": "^4.0.0",
    "remark-math": "^6.0.0",
    "tailwind-merge": "^3.4.0"
  },
  "overrides": {
    "epubjs": {
      "@xmldom/xmldom": "^0.9.12"
    }
  },
  "devDependencies": {
    "@playwright/test": "^1.53.2",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/jest-dom": "^7.0.1",
    "@testing-library/react": "^16.3.3",
    "@testing-library/user-event": "^14.6.6",
    "@types/node": "^25",
    "@types/react": "^19",
    "@types/react-dom": "^19",
    "@types/react-syntax-highlighter": "^15.5.13",
    "autoprefixer": "^10.4.20",
    "dependency-cruiser": "^17.4.3",
    "eslint": "^9",
    "eslint-config-next": "16.2.3",
    "jsdom": "^29.1.1",
    "json-schema-to-typescript": "^16.0.0",
    "openapi-typescript": "^7.13.0",
    "postcss": "^8",
    "simple-icons": "^16.27.1",
    "tailwindcss": "^3.4.17",
    "typescript": "^5",
    "vitest": "^4.1.11"
  }
}