ed7faa3be5
Added devDependencies: vitest, @vitest/coverage-v8, happy-dom, @testing-library/react, jest-dom, user-event, and test scripts (test, test:watch, test:coverage). Removed @types/testing-library__jest-dom (redundant with jest-dom v6+, caused Docker build to fail with "Cannot find type definition file" error).
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "ecommerce-platform",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"postinstall": "prisma generate",
|
|
"test": "vitest run --config ../test/vitest.config.ts",
|
|
"test:watch": "vitest --config ../test/vitest.config.ts",
|
|
"test:coverage": "vitest run --config ../test/vitest.config.ts --coverage"
|
|
},
|
|
"dependencies": {
|
|
"next": "14.2.5",
|
|
"@prisma/client": "^5.16.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"stripe": "^16.0.0",
|
|
"nodemailer": "^6.9.14",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"prisma": "^5.16.0",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/nodemailer": "^6.4.15",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"typescript": "^5",
|
|
"tailwindcss": "^3.4.1",
|
|
"postcss": "^8",
|
|
"autoprefixer": "^10.0.1",
|
|
"vitest": "^1.6.0",
|
|
"@vitest/coverage-v8": "^1.6.0",
|
|
"happy-dom": "^14.12.0",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/jest-dom": "^6.4.0",
|
|
"@testing-library/user-event": "^14.5.2"
|
|
}
|
|
}
|