82b2be48cd
* feat: Add Medication Refill feature with UI improvements - Add refill functionality to medications (add packs/loose pills) - Add refill API endpoint with history tracking - Add refill section in edit forms (desktop & mobile) - Add refill modal in medication detail view - Add refill history display with expand/collapse - Add schedule lightbox for clicking medication images - Improve button styling with primary/info/success classes - Move '+ New entry' button to medication list header - Lightbox size: 50% desktop, 90% mobile - Update selectedMed sync after stock changes - Migrate from schema-sql.ts to Drizzle Kit migrations * fix: Improve mobile tooltips and refill modal layout - Center tooltips on screen for mobile devices (fixed position) - Close tooltips automatically when scrolling on touch devices - Use click-based tooltip activation instead of hover on mobile - Fix refill modal buttons to display in two rows on mobile
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "medassist-ng-backend",
|
|
"version": "1.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "node dist/index.js",
|
|
"migrate": "tsx src/db/migrate.ts",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^10.0.1",
|
|
"@fastify/cors": "^10.0.1",
|
|
"@fastify/helmet": "^13.0.2",
|
|
"@fastify/jwt": "^10.0.0",
|
|
"@fastify/multipart": "^9.3.0",
|
|
"@fastify/rate-limit": "^10.3.0",
|
|
"@fastify/sensible": "^6.0.4",
|
|
"@fastify/static": "^8.3.0",
|
|
"@libsql/client": "^0.10.0",
|
|
"argon2": "^0.40.0",
|
|
"dotenv": "^16.4.5",
|
|
"drizzle-orm": "^0.45.1",
|
|
"fastify": "^5.0.0",
|
|
"nodemailer": "^7.0.11",
|
|
"openid-client": "^6.8.1",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.7.4",
|
|
"@types/nodemailer": "^6.4.21",
|
|
"@types/supertest": "^6.0.2",
|
|
"@vitest/coverage-v8": "^4.0.16",
|
|
"drizzle-kit": "^0.31.8",
|
|
"supertest": "^7.0.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.5.4",
|
|
"vitest": "^4.0.16"
|
|
}
|
|
}
|