eCourt-note/package.json
Suphonchai Phoonsawat 454c90d17e Add unit tests for autoSaveService to handle document dirty states and periodic saves
- Implement tests for various scenarios including user edits, initial dirty state, and document changes.
- Ensure proper flagging of uncommitted changes and silent saves for documents opened in a dirty state.
- Test debounce behavior for document change notifications and version clearing functionality.
- Validate suspension and resumption of auto-saving during versioning processes.
2026-11-03 13:34:21 +07:00

54 lines
1.9 KiB
JSON

{
"name": "judes-note",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "npm run db:prepare && next dev",
"dev:server": "next dev",
"build": "next build",
"test": "vitest run",
"start": "next start",
"seed-samples": "node --env-file=.env scripts/seed-samples.mjs",
"db:prepare": "docker compose up -d --wait && node --env-file=.env scripts/migrate.mjs && node --env-file=.env scripts/seed-samples.mjs",
"db:reset": "docker compose down && docker volume rm judes-note-db-data judes-note-minio-data && npm run db:prepare",
"addin:install": "node scripts/install-wordaddin.mjs",
"postinstall": "node scripts/patch-pdf-worker.mjs && node scripts/copy-swagger-ui.mjs && node scripts/fetch-office-js.mjs",
"dev:https": "next dev --experimental-https",
"dev:https:cert": "next dev --experimental-https --experimental-https-key certs/localhost.key --experimental-https-cert certs/localhost.crt"
},
"dependencies": {
"@pdf-lib/fontkit": "^1.1.1",
"@xmldom/xmldom": "^0.9.12",
"docx-templates": "^4.15.0",
"drizzle-orm": "^0.45.2",
"lucide-react": "^1.42.0",
"minio": "^8.0.7",
"next": "^14.2.35",
"pdf-lib": "^1.17.1",
"pdfjs-dist": "^4.10.38",
"pizzip": "^3.3.0",
"pngjs": "^7.0.0",
"postgres": "^3.4.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"swagger-ui-dist": "^5.33.1",
"utif2": "^4.1.0",
"xpath": "^0.0.34"
},
"devDependencies": {
"@types/node": "^26.6.5",
"@types/office-js": "^1.0.612",
"@types/pngjs": "^6.0.5",
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"autoprefixer": "^10.5.5",
"drizzle-kit": "^0.31.10",
"jsdom": "^29.1.1",
"office-addin-debugging": "^7.0.1",
"office-addin-dev-settings": "^4.0.1",
"postcss": "^8.5.28",
"tailwindcss": "^3.4.19",
"typescript": "^5.9.3",
"vitest": "^5.0.0"
}
}