Files
bedolaga-cabinet/package.json
c0mrade a63bb7c457 fix: update dependencies to resolve security vulnerabilities
- Update vite 5→7.3.1 and @vitejs/plugin-react 4→5.1.2 (GHSA-67mh-4wv8-2f99)
- Update react-router-dom 6→7.13.0 (GHSA-2w69-qvjg-hvjx, CVSS 8.0)
- Add husky, lint-staged to devDependencies
- Add project description and AGPL-3.0 license to package.json
2026-01-27 17:38:18 +03:00

67 lines
1.8 KiB
JSON

{
"name": "cabinet-frontend",
"private": true,
"version": "1.0.0",
"description": "Remnawave Bedolaga Web App",
"license": "AGPL-3.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,css,json}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,css,json}\"",
"type-check": "tsc --noEmit",
"preview": "vite preview",
"prepare": "husky"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@lottiefiles/dotlottie-react": "^0.8.0",
"@tanstack/react-query": "^5.8.0",
"axios": "^1.6.0",
"dompurify": "^3.3.1",
"i18next": "^23.7.0",
"i18next-browser-languagedetector": "^7.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^13.5.0",
"react-router-dom": "^7.13.0",
"zustand": "^4.4.0"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/dompurify": "^3.0.5",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@vitejs/plugin-react": "^5.1.2",
"autoprefixer": "^10.4.16",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.26",
"globals": "^17.1.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"postcss": "^8.4.31",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"tailwindcss": "^3.3.5",
"typescript": "^5.2.2",
"typescript-eslint": "^8.54.0",
"vite": "^7.3.1"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,json}": [
"prettier --write"
]
}
}