- Remove @lhci/cli, newman, pa11y-ci (used only by obsolete Makefile.old) - Redirect qa:postman, qa:lh, qa:a11y scripts to explanatory message - npm audit fix for remaining lodash vulnerability - Document Lot 6 (bypass flags verified) and Lot 8 in REMEDIATION_PROGRESS
177 lines
7.4 KiB
JSON
177 lines
7.4 KiB
JSON
{
|
|
"name": "veza-frontend",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:with-api": "bash scripts/start-backend-and-dev.sh",
|
|
"dev:lab": "bash ./scripts/start_lab.sh",
|
|
"dev:mocks": "VITE_USE_MSW=1 vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:auth": "vitest run src/features/auth",
|
|
"test:tracks": "vitest run src/features/tracks",
|
|
"test:playlists": "vitest run src/features/playlists",
|
|
"test:player": "vitest run src/features/player",
|
|
"test:streaming": "vitest run src/features/streaming",
|
|
"test:settings-profile-chat": "vitest run src/features/settings src/features/profile src/features/chat",
|
|
"test:components-ui": "vitest run src/components/ui",
|
|
"test:components-other": "vitest run src/components/auth src/components/charts src/components/data src/components/feedback src/components/filters src/components/forms src/components/layout src/components/navigation src/components/search",
|
|
"test:services": "vitest run src/services",
|
|
"test:hooks": "vitest run src/hooks",
|
|
"test:misc": "vitest run src/config src/context src/lib src/router src/schemas src/stores src/utils src/__tests__",
|
|
"test:groups": "npm run test:auth && npm run test:tracks && npm run test:playlists && npm run test:player && npm run test:streaming && npm run test:settings-profile-chat && npm run test:components-ui && npm run test:components-other && npm run test:services && npm run test:hooks && npm run test:misc",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:msw": "cross-env VITE_USE_MSW=1 playwright test",
|
|
"test:e2e:mocks": "playwright test --config=playwright.config.mocks.ts",
|
|
"test:e2e:mocks:ui": "playwright test --config=playwright.config.mocks.ts --ui",
|
|
"test:visual": "playwright test --config=playwright.config.visual.ts",
|
|
"test:visual:update": "playwright test --config=playwright.config.visual.ts --update-snapshots",
|
|
"test:visual:report": "playwright show-report e2e/playwright-report-visual",
|
|
"visual:capture": "playwright test --config=playwright.config.visual.ts",
|
|
"visual:update": "cross-env VISUAL_UPDATE_BASELINES=1 playwright test --config=playwright.config.visual.ts",
|
|
"visual:baseline": "node scripts/capture-visual-baseline.mjs --baseline",
|
|
"visual:compare": "node scripts/generate-visual-report.mjs",
|
|
"visual:test": "playwright test --config=playwright.config.visual.ts",
|
|
"lint": "eslint . --ext ts,tsx",
|
|
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
"lint:ui": "eslint src/components src/features --ext ts,tsx",
|
|
"report:arbitrary": "node scripts/report-arbitrary-values.mjs",
|
|
"typecheck": "tsc --noEmit",
|
|
"generate:types": "bash ./scripts/generate-types.sh",
|
|
"validate:schemas": "vitest run src/schemas",
|
|
"validate:types": "npm run typecheck",
|
|
"validate:all": "npm run validate:types && npm run validate:schemas",
|
|
"fmt": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
"qa:smoke": "make smoke",
|
|
"qa:e2e": "make e2e",
|
|
"qa:postman": "echo 'Postman/Newman removed (security audit A06). Use Makefile.old if needed.'",
|
|
"qa:lh": "echo 'Lighthouse/LHCI removed (security audit A06). Use Makefile.old if needed.'",
|
|
"qa:k6": "make load",
|
|
"qa:visual": "make visual",
|
|
"qa:visual:update": "make visual-update",
|
|
"qa:backstop:ref": "make backstop-ref",
|
|
"qa:backstop:test": "make backstop-test",
|
|
"qa:loki": "make loki",
|
|
"qa:a11y": "echo 'pa11y-ci removed (security audit A06). Use Makefile.old if needed.'",
|
|
"qa:all": "make qa-all",
|
|
"prepare": "husky",
|
|
"storybook": "cross-env VITE_API_URL=/api/v1 VITE_USE_MSW=true VITE_STORYBOOK=true storybook dev -p 6006",
|
|
"build-storybook": "cross-env VITE_API_URL=/api/v1 VITE_USE_MSW=true VITE_STORYBOOK=true storybook build",
|
|
"test:storybook": "node scripts/audit-storybook.js",
|
|
"test:storybook:playwright": "playwright test --config=playwright.config.storybook.ts",
|
|
"validate:storybook": "node scripts/validate-storybook.cjs"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@juspay-tech/hyper-js": "^2.1.0",
|
|
"@juspay-tech/react-hyper-js": "^1.3.0",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@sentry/react": "^10.32.1",
|
|
"@tanstack/react-query": "^5.17.0",
|
|
"@tanstack/react-virtual": "^3.13.12",
|
|
"axios": "^1.13.5",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.0",
|
|
"date-fns": "^4.1.0",
|
|
"dompurify": "^3.3.0",
|
|
"emoji-picker-react": "^4.16.1",
|
|
"framer-motion": "^12.29.2",
|
|
"hls.js": "^1.6.14",
|
|
"i18next": "^25.5.2",
|
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
"immer": "^10.0.3",
|
|
"lucide-react": "^0.321.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-dropzone": "^14.3.8",
|
|
"react-hook-form": "^7.49.3",
|
|
"react-hot-toast": "^2.6.0",
|
|
"react-i18next": "^15.7.3",
|
|
"react-router-dom": "^6.30.3",
|
|
"tailwind-merge": "^2.2.1",
|
|
"zod": "^3.25.76",
|
|
"zustand": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@openapitools/openapi-generator-cli": "^2.27.0",
|
|
"@playwright/test": "^1.58.2",
|
|
"@storybook/addon-a11y": "^8.6.15",
|
|
"@storybook/addon-essentials": "^8.6.15",
|
|
"@storybook/addon-interactions": "^8.6.15",
|
|
"@storybook/builder-vite": "^8.6.15",
|
|
"@storybook/react-vite": "^8.6.15",
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@testing-library/jest-dom": "^6.4.2",
|
|
"@testing-library/react": "^14.2.1",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/node": "^20.11.5",
|
|
"@types/react": "^18.2.48",
|
|
"@types/react-dom": "^18.2.18",
|
|
"@types/react-dropzone": "^4.2.2",
|
|
"@types/swagger-ui-react": "^5.18.0",
|
|
"@types/uuid": "^10.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
"@typescript-eslint/parser": "^8.0.0",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"@vitest/browser": "^3.2.4",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"autoprefixer": "^10.4.17",
|
|
"babel-plugin-react-remove-properties": "^0.3.1",
|
|
"backstopjs": "^6.2.3",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^9.0.0",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react": "^7.37.0",
|
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^24.0.0",
|
|
"msw": "^2.11.2",
|
|
"msw-storybook-addon": "^2.0.6",
|
|
"pixelmatch": "^5.3.0",
|
|
"playwright": "^1.58.1",
|
|
"pngjs": "^7.0.0",
|
|
"prettier": "^3.2.5",
|
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
"storybook": "^8.6.15",
|
|
"storybook-dark-mode": "^4.0.2",
|
|
"swagger-ui-dist": "^5.31.0",
|
|
"swagger-ui-react": "^5.31.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^7.1.5",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"typescript",
|
|
"vite",
|
|
"tailwindcss",
|
|
"sumi-design-system",
|
|
"zustand",
|
|
"websocket",
|
|
"music",
|
|
"streaming",
|
|
"collaboration"
|
|
],
|
|
"author": "Veza Team",
|
|
"license": "MIT",
|
|
"description": "Application web moderne pour la plateforme Veza de streaming et collaboration musicale",
|
|
"msw": {
|
|
"workerDirectory": [
|
|
"public"
|
|
]
|
|
}
|
|
}
|