mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 18:59:17 +01:00
- Add TextEncoder/TextDecoder polyfills for MongoDB/Mongoose tests - Mock AWS SES client in email service tests - Fix platform tests to properly handle missing credentials - Skip MongoDB integration tests when MONGODB_URI not available - Restore env vars between tests to prevent test pollution - Install node-mocks-http for API route testing Test suite: 11 passed, 1 skipped (integration test) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"name": "botsmann",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"build:ci": "npm ci && npm run build",
|
|
"start": "next start",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"lint": "next lint --max-warnings 0",
|
|
"lint:fix": "next lint --fix"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-ses": "^3.744.0",
|
|
"@headlessui/react": "^2.2.0",
|
|
"@heroicons/react": "^2.2.0",
|
|
"@mdx-js/loader": "^3.1.0",
|
|
"@mdx-js/react": "^3.1.0",
|
|
"@next/mdx": "^15.1.6",
|
|
"@tailwindcss/forms": "^0.5.7",
|
|
"@tailwindcss/typography": "^0.5.16",
|
|
"autoprefixer": "^10.4.17",
|
|
"date-fns": "^4.1.0",
|
|
"framer-motion": "^12.23.22",
|
|
"gray-matter": "^4.0.3",
|
|
"lru-cache": "^11.0.2",
|
|
"mongodb": "^6.13.0",
|
|
"mongoose": "^8.10.0",
|
|
"next": "^14.0.4",
|
|
"next-mdx-remote": "^5.0.0",
|
|
"postcss": "^8.4.35",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.3.1",
|
|
"react-hook-form": "^7.54.2",
|
|
"react-icons": "^5.5.0",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-slug": "^6.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"tailwindcss": "^3.4.1",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.3",
|
|
"@eslint/js": "^9.39.2",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.2.0",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/lru-cache": "^7.10.9",
|
|
"@types/node": "^20.17.17",
|
|
"@types/react": "^18.2.45",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"daisyui": "^5.0.43",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-next": "^14.2.35",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"node-mocks-http": "^1.17.2",
|
|
"ts-jest": "^29.2.5",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|