{
  "name": "backend",
  "version": "1.0.0",
  "private": true,
  "description": "Enchun Website use PayloadCMS",
  "license": "MIT",
  "type": "module",
  "scripts": {
    "build": "cross-env NODE_OPTIONS=--no-deprecation next build",
    "postbuild": "next-sitemap --config next-sitemap.config.cjs",
    "dev": "cross-env NODE_OPTIONS=--no-deprecation next dev --port 3000",
    "dev:prod": "cross-env NODE_OPTIONS=--no-deprecation rm -rf .next && bun run build && bun run start",
    "generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
    "generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
    "ii": "cross-env NODE_OPTIONS=--no-deprecation bun install",
    "lint": "cross-env NODE_OPTIONS=--no-deprecation next lint",
    "lint:fix": "cross-env NODE_OPTIONS=--no-deprecation next lint --fix",
    "payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
    "reinstall": "cross-env NODE_OPTIONS=--no-deprecation rm -rf node_modules && rm bun.lockb && bun install",
    "start": "cross-env NODE_OPTIONS=--no-deprecation next start",
    "test": "bun run test:int && bun run test:e2e",
    "test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --no-experimental-strip-types\" bunx playwright test --config=playwright.config.ts",
    "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts",
    "test:load": "k6 run tests/k6/public-browsing.js",
    "test:load:all": "k6 run tests/k6/public-browsing.js && k6 run tests/k6/api-performance.js",
    "test:load:admin": "k6 run tests/k6/admin-operations.js",
    "test:load:api": "k6 run tests/k6/api-performance.js",
    "typecheck": "tsc --noEmit",
    "migrate": "tsx scripts/migration/migrate.ts",
    "migrate:dry": "tsx scripts/migration/migrate.ts --dry-run --verbose",
    "migrate:posts": "tsx scripts/migration/migrate.ts --collection posts"
  },
  "dependencies": {
    "@enchun/shared": "workspace:*",
    "@payloadcms/admin-bar": "3.59.1",
    "@payloadcms/db-mongodb": "3.59.1",
    "@payloadcms/email-resend": "3.59.1",
    "@payloadcms/live-preview-react": "3.59.1",
    "@payloadcms/next": "3.59.1",
    "@payloadcms/plugin-nested-docs": "3.59.1",
    "@payloadcms/plugin-redirects": "3.59.1",
    "@payloadcms/plugin-search": "3.59.1",
    "@payloadcms/plugin-seo": "3.59.1",
    "@payloadcms/richtext-lexical": "3.59.1",
    "@payloadcms/storage-s3": "3.59.1",
    "@payloadcms/ui": "3.59.1",
    "@radix-ui/react-checkbox": "^1.0.4",
    "@radix-ui/react-label": "^2.0.2",
    "@radix-ui/react-select": "^2.0.0",
    "@radix-ui/react-slot": "^1.0.2",
    "class-variance-authority": "^0.7.0",
    "clsx": "^2.1.1",
    "cross-env": "^7.0.3",
    "dotenv": "16.4.7",
    "geist": "^1.3.0",
    "graphql": "^16.8.2",
    "lucide-react": "^0.378.0",
    "next": "15.4.4",
    "next-sitemap": "^4.2.3",
    "payload": "3.59.1",
    "prism-react-renderer": "^2.3.1",
    "react": "19.1.0",
    "react-dom": "19.1.0",
    "react-hook-form": "7.45.4",
    "sharp": "0.34.2",
    "tailwind-merge": "^2.3.0",
    "tailwindcss-animate": "^1.0.7"
  },
  "devDependencies": {
    "@eslint/eslintrc": "^3.2.0",
    "@playwright/test": "1.54.1",
    "@tailwindcss/typography": "^0.5.13",
    "@testing-library/react": "16.3.0",
    "@types/escape-html": "^1.0.2",
    "@types/node": "22.5.4",
    "@types/react": "19.1.8",
    "@types/react-dom": "19.1.6",
    "@vitejs/plugin-react": "4.5.2",
    "autoprefixer": "^10.4.19",
    "cheerio": "^1.2.0",
    "copyfiles": "^2.4.1",
    "csv-parse": "^6.1.0",
    "eslint": "^9.16.0",
    "eslint-config-next": "15.4.4",
    "html-parse-stringify": "^3.0.1",
    "jsdom": "26.1.0",
    "playwright": "1.54.1",
    "playwright-core": "1.54.1",
    "postcss": "^8.4.38",
    "prettier": "^3.4.2",
    "tailwindcss": "^3.4.3",
    "tsx": "^4.21.0",
    "typescript": "5.7.3",
    "vite-tsconfig-paths": "5.1.4",
    "vitest": "3.2.3"
  }
}
