admin/package.json
2026-09-05 16:06:01 +03:30

132 lines
4.8 KiB
JSON

{
"name": "ghabilee-admin",
"version": "0.1.2",
"license": "MIT",
"private": true,
"scripts": {
"prepare": "husky",
"precommit:check": "bash scripts/pre-commit-checks.sh",
"prepush:check": "bash scripts/pre-push-checks.sh",
"dev": "next dev --turbopack -p 3009",
"dev:light": "next dev --turbopack -p 3009 --disable-source-maps --internal-trace overview",
"build": "pnpm generate:api && next build && pnpm bundle:check",
"build:next": "next build && pnpm bundle:check",
"start": "next start",
"typecheck": "tsc --noEmit",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix --max-warnings 0",
"check": "pnpm typecheck && pnpm lint && pnpm test && pnpm architecture:check && pnpm unused:check",
"architecture:check": "madge --extensions ts,tsx --ts-config tsconfig.json --circular app components context hooks services lib config",
"bundle:check": "node scripts/check-bundle-budget.mjs",
"smoke:test": "node scripts/smoke-test.mjs",
"unused:check": "knip --include files,dependencies,unlisted,duplicates",
"test:prepare": "pnpm generate:api",
"test": "pnpm test:prepare && vitest run",
"test:coverage": "pnpm test:prepare && vitest run --coverage",
"test:watch": "pnpm test:prepare && vitest",
"prepare:standalone": "node scripts/prepare-standalone.mjs",
"start:e2e": "pnpm prepare:standalone && ALLOW_LOCAL_REQUEST_HOSTS=1 PORT=3103 HOSTNAME=127.0.0.1 node .next/standalone/server.js",
"test:e2e": "NO_PROXY=127.0.0.1,localhost no_proxy=127.0.0.1,localhost start-server-and-test start:e2e http://127.0.0.1:3103/auth test:e2e:run",
"test:e2e:run": "playwright test",
"test:e2e:ui": "playwright test --ui",
"build:turbo": "next build --turbopack",
"generate:api": "node scripts/generate-api.mjs"
},
"dependencies": {
"@heroui/react": "3.2.4",
"@heroui/styles": "3.2.4",
"@hookform/resolvers": "^5.2.2",
"@internationalized/date": "3.10.0",
"@react-aria/i18n": "3.13.1",
"@react-types/shared": "^3.32.1",
"@sentry/nextjs": "^10.69.0",
"@tanstack/query-sync-storage-persister": "^5.101.4",
"@tanstack/react-query": "^5.101.4",
"@tanstack/react-query-persist-client": "^5.101.4",
"@tiptap/extension-color": "^3.11.0",
"@tiptap/extension-highlight": "^3.11.0",
"@tiptap/extension-image": "^3.11.0",
"@tiptap/extension-link": "^3.11.0",
"@tiptap/extension-text-align": "^3.11.0",
"@tiptap/extension-text-style": "^3.11.0",
"@tiptap/extension-underline": "^3.11.0",
"@tiptap/react": "^3.11.0",
"@tiptap/starter-kit": "^3.11.0",
"@types/jalaali-js": "^1.2.0",
"arcaptcha-react": "^0.4.0",
"axios": "1.18.1",
"clsx": "2.1.1",
"dayjs": "^1.11.19",
"framer-motion": "12.43.0",
"isomorphic-dompurify": "^3.19.0",
"jalaali-js": "^1.2.8",
"js-cookie": "^3.0.7",
"jwt-decode": "^4.0.0",
"mapir-react-component": "2.0.7",
"next": "16.3.0",
"next-themes": "^0.4.6",
"qs": "^6.16.0",
"react": "19.2.3",
"react-date-object": "^2.1.9",
"react-dom": "19.2.3",
"react-easy-crop": "^5.5.5",
"react-hook-form": "^7.84.0",
"react-mobile-picker": "1.2.0",
"react-multi-date-picker": "^4.5.2",
"sharp": "0.35.3",
"socket.io-client": "^4.8.3",
"zod": "^4.4.3"
},
"devDependencies": {
"@axe-core/playwright": "^4.12.1",
"@eslint/js": "^9.39.1",
"@playwright/test": "^1.61.1",
"@tailwindcss/postcss": "^4.1.17",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/js-cookie": "^3.0.6",
"@types/node": "26.1.2",
"@types/qs": "^6.14.0",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.48.0",
"@vitest/coverage-v8": "^4.1.10",
"eslint": "^9.39.1",
"eslint-config-next": "16.3.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-unused-imports": "^4.3.0",
"globals": "^17.9.0",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"knip": "6.27.0",
"lint-staged": "^17.3.0",
"madge": "8.0.0",
"orval": "8.22.0",
"postcss": "8.5.23",
"prettier": "3.6.2",
"sass": "^1.94.2",
"start-server-and-test": "^3.0.11",
"tailwindcss": "4.1.17",
"typescript": "5.9.3",
"typescript-eslint": "^8.66.0",
"vitest": "^4.1.10"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix --max-warnings 0 --no-warn-ignored"
],
"*.{json,md,css,scss,yml,yaml}": [
"prettier --write"
]
},
"packageManager": "pnpm@10.28.2"
}