Files
nahodka-front/package.json
SlimusMinus a029254cf0 Tests for auth refresh, ad viewability and URL safety; nginx, Dockerfile, README
- Jest: single-flight refresh, session expiry vs transient errors, token save on login change,
  logout revoke, IAB viewability, safe URLs, HTML escaping, password policy, ad session id
- test:ci with explicit testMatch (dot-directories in worktree paths hid all tests)
- nginx: gzip, nosniff/Referrer-Policy/X-Frame-Options, no-cache for index.html
- Dockerfile: npm ci, REACT_APP_WS_ERROR_QUEUE build arg
- README: new backend contracts, flags, compatibility notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 11:56:39 +03:00

61 lines
1.5 KiB
JSON

{
"name": "react_front",
"version": "0.1.0",
"private": true,
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@stomp/stompjs": "^7.3.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^13.5.0",
"framer-motion": "^12.38.0",
"i18next": "^22.5.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.74.0",
"react-i18next": "^12.3.1",
"react-router-dom": "^7.14.2",
"react-scripts": "5.0.1",
"sockjs-client": "^1.6.1",
"web-vitals": "^2.1.4",
"zod": "^4.3.6"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:ci": "react-scripts test --watchAll=false --testMatch \"**/src/**/*.test.{js,jsx,ts,tsx}\"",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx --max-warnings=0",
"typecheck": "tsc --noEmit",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/node": "^25.6.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"typescript": "^5.9.3"
},
"overrides": {
"caniuse-lite": "^1.0.30001814"
}
}