Phase 8: Visitor Management - Visitor/VisitorLog/AccessZone models - Check-in/out with badge generation - Zone occupancy tracking - Kiosk and management pages Phase 9: Messaging & Communication - Announcements with priority levels - Acknowledgement tracking - Shift notes for team handoffs - AnnouncementBanner component Phase 10: Compliance & Audit Trail - Immutable AuditLog model - Document versioning and approval workflow - Acknowledgement tracking for SOPs - CSV export for audit logs Phase 11: Accessibility & i18n - WCAG 2.1 AA compliance utilities - react-i18next with EN/ES translations - User preferences context (theme, font size, etc) - High contrast and reduced motion support Phase 12: Hardware Integration - QR code generation for batches/plants/visitors - Printable label system - Visitor badge printing Phase 13: Advanced Features - Environmental monitoring (sensors, readings, alerts) - Financial tracking (transactions, P&L reports) - AI/ML insights (yield predictions, anomaly detection)
35 lines
No EOL
825 B
JSON
35 lines
No EOL
825 B
JSON
{
|
|
"name": "ca-grow-ops-backend",
|
|
"version": "1.0.0",
|
|
"main": "dist/server.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/server.js",
|
|
"dev": "ts-node-dev --transpile-only src/server.ts",
|
|
"test": "jest",
|
|
"lint": "eslint src/**/*.ts"
|
|
},
|
|
"prisma": {
|
|
"seed": "node prisma/seed.js"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/jwt": "^7.2.4",
|
|
"@prisma/client": "^5.7.0",
|
|
"@types/bcrypt": "^6.0.0",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"bcrypt": "^6.0.0",
|
|
"dotenv": "^16.3.1",
|
|
"fastify": "^4.25.0",
|
|
"fastify-plugin": "^4.5.0",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"eslint": "^8.56.0",
|
|
"jest": "^29.7.0",
|
|
"prisma": "^5.7.0",
|
|
"ts-node-dev": "^2.0.0",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
} |