- npm run test:e2e builds the app, runs it on port 3101 with an empty throwaway database and drives Chrome (the installed one; no browser download) through notes and the paste check, the daily five minutes and weekly recall, translation compare (Bible text faked), and two-screen presenting. - Vitest skips e2e/; ESLint knows the e2e folder and playwright.config.js. - .gitignore: the local demo video, Playwright output and sign-in file. - README and TODO describe the browser tests and what CI still needs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
60 lines
1.7 KiB
JSON
60 lines
1.7 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",
|
|
"backup": "bash scripts/backup-data.sh",
|
|
"restore": "bash scripts/restore-data.sh",
|
|
"lint": "eslint .",
|
|
"test:e2e": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@simplewebauthn/browser": "^13.3.0",
|
|
"@simplewebauthn/server": "^13.3.3",
|
|
"bcryptjs": "^3.0.3",
|
|
"better-sqlite3": "^12.10.0",
|
|
"compression": "^1.8.2",
|
|
"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",
|
|
"perfect-freehand": "^1.2.3",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@playwright/test": "^1.64.1",
|
|
"@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",
|
|
"eslint": "^10.12.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
"globals": "^17.13.0",
|
|
"jsdom": "^29.1.1",
|
|
"postcss": "^8.4.35",
|
|
"tailwindcss": "^3.4.4",
|
|
"vite": "^5.4.1",
|
|
"vitest": "^4.1.7"
|
|
}
|
|
}
|