5140958305
Projects were previously global to anyone who could reach the server. Adds email/password accounts with httpOnly cookie sessions, scopes every project (both SQLite and localStorage) to the signed-in user, and auto-claims pre-existing unowned projects for whoever registers first. Also adds optional TOTP two-factor auth with backup codes, managed from a new Account Settings page, since there's no password-reset flow to fall back on otherwise. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "bible-study-app",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:server": "node server/index.js",
|
|
"dev:full": "concurrently \"npm run dev:server\" \"npm run dev\"",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"start": "NODE_ENV=production node server/index.js",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^3.0.3",
|
|
"better-sqlite3": "^12.10.0",
|
|
"concurrently": "^8.2.2",
|
|
"docx": "^9.7.0",
|
|
"dompurify": "^3.4.9",
|
|
"express": "^4.19.2",
|
|
"express-session": "^1.19.0",
|
|
"mammoth": "^1.12.0",
|
|
"otplib": "^12.0.1",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@vitejs/plugin-react": "^4.3.0",
|
|
"@vitest/coverage-v8": "^4.1.7",
|
|
"autoprefixer": "^10.4.19",
|
|
"csv-parse": "^6.2.1",
|
|
"jsdom": "^29.1.1",
|
|
"postcss": "^8.4.35",
|
|
"tailwindcss": "^3.4.4",
|
|
"vite": "^5.4.1",
|
|
"vitest": "^4.1.7"
|
|
}
|
|
}
|