Files
Filamenteka/package.json
DaX f6f9da9c5b Add bulk price editing features and fix quantity update price preservation
- Fix FilamentForm to preserve prices when updating quantities
  - Add isInitialLoad flag to prevent price override on form load
  - Only update prices when color is actively changed, not on initial render

- Add bulk filament price editor to dashboard
  - Filter by material and finish
  - Set refill and/or spool prices for multiple filaments
  - Preview changes before applying
  - Update all filtered filaments at once

- Add bulk color price editor to colors page
  - Edit prices for all colors in one interface
  - Global price application with search filtering
  - Individual price editing with change tracking

- Add auto-kill script for dev server
  - Kill existing processes on ports 3000/3001 before starting
  - Prevent "port already in use" errors
  - Clean start every time npm run dev is executed
2025-11-18 19:14:01 +01:00

51 lines
1.4 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": "next lint",
"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": "^15.3.4",
"pg": "^8.16.2",
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"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.4.32",
"tailwindcss": "^3.3.0",
"tsx": "^4.20.3",
"typescript": "^5.2.2",
"vite": "^5.0.8"
}
}