cms.c2sgmbh/package.json
Martin Porwoll 358920f442 feat(Community): add Community Management Phase 1
- Add 5 new collections: SocialPlatforms, SocialAccounts,
  CommunityInteractions, CommunityTemplates, CommunityRules
- Add communityRole field to Users collection
- Add YouTube API client for comment sync
- Add Claude AI service for sentiment analysis
- Add API endpoints: /api/community/sync-comments, /api/community/reply
- Add communityAccess.ts for role-based access control
- Add migrations for all new tables and community_role enum fix

Fix: Make audit hooks non-blocking to prevent user save timeout

Dependencies: @anthropic-ai/sdk, googleapis

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 16:13:03 +00:00

86 lines
3.6 KiB
JSON

{
"name": "payload-cms",
"version": "1.0.0",
"description": "A blank template to get started with Payload 3.0",
"license": "MIT",
"type": "module",
"scripts": {
"build": "cross-env NODE_OPTIONS=\"--no-deprecation --max-old-space-size=2048\" next build",
"dev": "cross-env NODE_OPTIONS=--no-deprecation next dev",
"devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev",
"generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
"generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
"lint": "cross-env NODE_OPTIONS=--no-deprecation eslint src",
"check:frameworks": "bash ./scripts/check-framework-updates.sh",
"typecheck": "cross-env NODE_OPTIONS=--no-deprecation tsc --noEmit",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\" --ignore-unknown",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\" --ignore-unknown",
"payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
"test": "pnpm run test:unit && pnpm run test:int && pnpm run test:e2e",
"test:unit": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts tests/unit",
"test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts tests/int",
"test:security": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts tests/unit/security tests/int/security-api.int.spec.ts",
"test:access-control": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts tests/unit/access-control",
"test:coverage": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts --coverage",
"test:e2e": "test -f .next/BUILD_ID || (echo 'Error: No build found. Run pnpm build first.' && exit 1) && cross-env NODE_OPTIONS=--no-deprecation pnpm exec playwright test",
"prepare": "test -d .git && (ln -sf ../../scripts/detect-secrets.sh .git/hooks/pre-commit 2>/dev/null || true) || true"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.71.2",
"@payloadcms/db-postgres": "3.69.0",
"@payloadcms/next": "3.69.0",
"@payloadcms/plugin-form-builder": "3.69.0",
"@payloadcms/plugin-multi-tenant": "3.69.0",
"@payloadcms/plugin-nested-docs": "3.69.0",
"@payloadcms/plugin-redirects": "3.69.0",
"@payloadcms/plugin-seo": "3.69.0",
"@payloadcms/richtext-lexical": "3.69.0",
"@payloadcms/translations": "3.69.0",
"@payloadcms/ui": "3.69.0",
"bullmq": "^5.65.1",
"cross-env": "^7.0.3",
"dotenv": "16.4.7",
"googleapis": "^170.0.0",
"ioredis": "^5.8.2",
"next": "15.5.9",
"node-cron": "^4.2.1",
"nodemailer": "^7.0.11",
"payload": "3.69.0",
"payload-oapi": "^0.2.5",
"react": "19.2.3",
"react-dom": "19.2.3",
"sharp": "0.34.5"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@playwright/test": "1.57.0",
"@types/node": "^22.10.2",
"@types/node-cron": "^3.0.11",
"@types/nodemailer": "^7.0.4",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "4.5.2",
"@vitest/coverage-v8": "4.0.15",
"drizzle-kit": "^0.31.8",
"eslint": "^9.39.2",
"eslint-config-next": "15.5.9",
"jsdom": "26.1.0",
"playwright": "1.57.0",
"prettier": "^3.7.4",
"typescript": "5.9.3",
"vite-tsconfig-paths": "6.0.0",
"vitest": "4.0.15"
},
"engines": {
"node": ">=20.9.0",
"pnpm": "^9 || ^10"
},
"pnpm": {
"onlyBuiltDependencies": [
"sharp",
"esbuild",
"unrs-resolver"
]
}
}