ca-grow-ops-manager/backend/package.json
fullsizemalt 4663b0ac86
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
feat: Navigation refactor with RBAC, DevTools for quick user switching, enhanced seed data
- Refactored navigation with grouped sections (Operations, Cultivation, Analytics, etc.)
- Added RBAC-based navigation filtering by user role
- Created DevTools panel for quick user switching during testing
- Added collapsible sidebar sections on desktop
- Mobile: bottom nav bar (4 items + More) with slide-up sheet
- Enhanced seed data with [DEMO] prefix markers
- Added multiple demo users: Owner, Manager, Cultivator, Worker
- Fixed domain to runfoo.run
- Added Audit Log and SOP Library pages to navigation
- Created usePermissions hook and RoleBadge component
2025-12-11 11:07:22 -08:00

40 lines
969 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",
"@fastify/multipart": "^8.0.0",
"@prisma/client": "^5.7.0",
"@types/bcrypt": "^6.0.0",
"@types/jsonwebtoken": "^9.0.10",
"bcrypt": "^6.0.0",
"bcryptjs": "^3.0.3",
"dotenv": "^16.3.1",
"fastify": "^4.25.0",
"fastify-plugin": "^4.5.0",
"jsonwebtoken": "^9.0.3",
"sharp": "^0.33.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.10.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"prisma": "^5.7.0",
"ts-jest": "^29.1.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3"
}
}