Files
Filamenteka/package.json
DaX ff6abdeef0
All checks were successful
Deploy / deploy (push) Successful in 2m26s
Add sales tracking system with customers, analytics, and inventory management
- Add customers table (021) and sales/sale_items tables (022) migrations
- Add customer CRUD, sale CRUD (transactional with auto inventory decrement/restore),
  and analytics API endpoints (overview, top sellers, revenue chart, inventory alerts)
- Add sales page with NewSaleModal (customer autocomplete, multi-item form,
  color-based pricing, stock validation) and SaleDetailModal
- Add customers page with search, inline editing, and purchase history
- Add analytics dashboard with recharts (revenue line chart, top sellers bar,
  refill vs spulna pie chart, inventory alerts table with stockout estimates)
- Add customerService, saleService, analyticsService to frontend API layer
- Update sidebar navigation on all admin pages
2026-03-04 23:58:57 +01:00

52 lines
1.5 KiB
JSON

{
"name": "filamenteka",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "./scripts/kill-dev.sh && next dev",
"build": "next build",
"start": "next start",
"lint": "eslint . --ext .ts,.tsx --ignore-path .gitignore",
"test": "jest",
"test:watch": "jest --watch",
"security:check": "node scripts/security/security-check.js",
"test:build": "node scripts/test-build.js",
"prepare": "husky",
"migrate": "cd scripts && npm install && npm run migrate",
"migrate:clear": "cd scripts && npm install && npm run migrate:clear"
},
"dependencies": {
"@types/cheerio": "^0.22.35",
"axios": "^1.6.2",
"bcryptjs": "^3.0.2",
"cheerio": "^1.1.0",
"next": "^16.1.6",
"pg": "^8.16.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"recharts": "^3.7.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.24",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"husky": "^9.1.7",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"postcss": "^8.5.6",
"tailwindcss": "^3.3.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vite": "^5.0.8"
}
}