Files
Momento/Momento-main/momento/memento-note/package.json
Sepehr Ramezani ed807d3b2a
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 5s
Add safe database migration workflow and note history infrastructure.
This introduces guarded migrations with automatic backups, fixes note creation after DB reset, and wires snapshot/restore history across notes surfaces.
2026-04-28 17:14:26 +02:00

108 lines
3.2 KiB
JSON

{
"name": "memento",
"version": "0.2.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "prisma generate && next build",
"start": "next start",
"db:generate": "prisma generate",
"db:migrate": "node scripts/safe-migrate.js",
"db:migrate:dev": "prisma migrate dev",
"db:migrate:deploy": "prisma migrate deploy",
"db:push": "prisma db push",
"db:studio": "prisma studio",
"db:reset": "prisma migrate reset",
"db:switch": "node scripts/switch-db.js",
"setup:env": "node scripts/setup-env.js",
"test": "playwright test",
"test:ui": "playwright test --ui",
"test:headed": "playwright test --headed",
"test:unit": "vitest run",
"test:unit:watch": "vitest watch",
"test:unit:coverage": "vitest run --coverage",
"test:migration": "vitest run tests/migration",
"test:migration:watch": "vitest watch tests/migration"
},
"dependencies": {
"@ai-sdk/openai": "^3.0.7",
"@ai-sdk/react": "^3.0.170",
"@auth/prisma-adapter": "^2.11.1",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@excalidraw/excalidraw": "^0.18.0",
"@mozilla/readability": "^0.6.0",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-radio-group": "^1.3.8",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tooltip": "^1.2.8",
"@types/jsdom": "^28.0.1",
"ai": "^6.0.23",
"autoprefixer": "^10.4.23",
"bcryptjs": "^3.0.3",
"buffer": "^6.0.3",
"cheerio": "^1.1.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.1.0",
"dotenv": "^17.2.3",
"jsdom": "^29.0.2",
"katex": "^0.16.27",
"lucide-react": "^0.562.0",
"next": "^16.1.6",
"next-auth": "^5.0.0-beta.30",
"nodemailer": "^8.0.4",
"postcss": "^8.5.6",
"radix-ui": "^1.4.3",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-markdown": "^10.1.0",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"resend": "^6.12.0",
"rss-parser": "^3.13.0",
"sonner": "^2.0.7",
"sharp": "^0.34.0",
"tailwind-merge": "^3.4.0",
"tinyld": "^1.3.4",
"vazirmatn": "^33.0.3",
"zod": "^4.3.5",
"@prisma/client": "^5.22.0"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@tailwindcss/postcss": "^4",
"@tailwindcss/typography": "^0.5.19",
"@types/bcryptjs": "^2.4.6",
"@types/node": "^20",
"@types/nodemailer": "^7.0.4",
"@types/react": "^19",
"@types/react-dom": "^19",
"@vitest/coverage-v8": "^4.0.18",
"prisma": "^5.22.0",
"tailwindcss": "^4.0.0",
"tsx": "^4.21.0",
"tw-animate-css": "^1.4.0",
"typescript": "5.9.3",
"vitest": "^4.0.18"
},
"overrides": {
"serialize-javascript": "^7.0.5",
"nodemailer": "^8.0.4",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-slot": "^1.2.4",
"lodash-es": "^4.17.21",
"nanoid": "^3.3.8"
}
}