- Add multi-stage Dockerfile for server containerization - Add .dockerignore to exclude unnecessary files from build context - Switch shared package from source to compiled CommonJS output (dist/) - Server dev/build scripts now build shared package first - Fix deep imports to use @calchat/shared barrel export - Update CLAUDE.md with Docker and shared package documentation
37 lines
898 B
JSON
37 lines
898 B
JSON
{
|
|
"name": "@calchat/server",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "npm run build --workspace=@calchat/shared && tsx watch src/app.ts",
|
|
"build": "npm run build --workspace=@calchat/shared && tsc",
|
|
"start": "node dist/app.js",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@calchat/shared": "*",
|
|
"bcrypt": "^6.0.0",
|
|
"dotenv": "^16.4.7",
|
|
"express": "^5.2.1",
|
|
"ical.js": "^2.2.1",
|
|
"mongoose": "^9.1.1",
|
|
"openai": "^6.15.0",
|
|
"pino": "^10.1.1",
|
|
"pino-http": "^11.0.0",
|
|
"rrule": "^2.8.1",
|
|
"tsdav": "^2.1.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^6.0.0",
|
|
"@types/express": "^5.0.6",
|
|
"@types/ical": "^0.8.3",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^24.10.1",
|
|
"jest": "^30.2.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"ts-jest": "^29.4.6",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|