feat: harden bootstrap and add tests

This commit is contained in:
2026-06-28 16:43:03 -05:00
parent 01ea9e391d
commit 991e73fcff
39 changed files with 3399 additions and 459 deletions
+9 -3
View File
@@ -5,8 +5,9 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start -H 0.0.0.0 -p 3000",
"lint": "next lint"
"start": "node .next/standalone/server.js",
"lint": "next lint",
"test": "vitest run"
},
"dependencies": {
"@chenglou/pretext": "^0.0.8",
@@ -18,11 +19,16 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/bcryptjs": "^2.4.6",
"@types/node": "^20.17.30",
"@types/pg": "^8.11.6",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"typescript": "^5.4.5"
"@vitejs/plugin-react": "^6.0.3",
"jsdom": "^29.1.1",
"typescript": "^5.4.5",
"vitest": "^4.1.9"
}
}