mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 05:37:00 +01:00
209 lines
9.9 KiB
JSON
209 lines
9.9 KiB
JSON
{
|
|
"name": "evig",
|
|
"version": "0.1.0",
|
|
"engines": {
|
|
"node": ">=22.13"
|
|
},
|
|
"packageManager": "pnpm@11.25.0",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"dev:frontend": "pnpm run dev",
|
|
"dev:full": "./scripts/start-all.sh",
|
|
"d": "pnpm run services:up && pnpm run transcription:bg && pnpm run dev",
|
|
"db:up": "docker compose up -d db",
|
|
"db:down": "docker compose down db",
|
|
"db:migrate": "bash scripts/db/run-migration.sh",
|
|
"services:up": "docker compose up -d db meilisearch listmonk",
|
|
"services:down": "docker compose down",
|
|
"start:all": "./scripts/start-all.sh",
|
|
"stop:all": "./scripts/stop-all.sh",
|
|
"setup": "pnpm run services:up && echo 'Waiting for services...' && sleep 5",
|
|
"setup-admins": "pnpm exec tsx scripts/setup-all-admins.ts",
|
|
"e2e:seed": "pnpm exec tsx scripts/e2e-seed.ts",
|
|
"generate:admin-hash": "node scripts/generate-admin-hash.js",
|
|
"reset": "pnpm run services:down && docker compose down -v && pnpm run setup",
|
|
"listmonk:setup": "./scripts/setup-listmonk.sh",
|
|
"listmonk:up": "docker compose up -d listmonk",
|
|
"listmonk:down": "docker compose stop listmonk",
|
|
"listmonk:logs": "docker compose logs -f listmonk",
|
|
"build": "NODE_ENV=production next build --webpack",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"check:file-inputs": "chatkit-check-file-inputs src",
|
|
"lint:umlauts": "bash scripts/lint-umlauts.sh src",
|
|
"lint:chrome": "bash scripts/ci/card-shell-ratchet.sh",
|
|
"lint:docs": "bash scripts/ci/docs-paths-exist.sh",
|
|
"lint:claims": "node scripts/ci/no-retired-claims.mjs",
|
|
"lint:ops": "bash scripts/ci/ops-box-paths.sh",
|
|
"test:ops": "bash scripts/ci/test-run-cron.sh",
|
|
"compliance:ssot": "node scripts/ssot-audit.mjs",
|
|
"test:i18n": "vitest run src/config/__tests__/i18n-array-parity.test.ts src/config/__tests__/nav-i18n-keys.test.ts src/config/__tests__/no-brand-suffix-in-message-titles.test.ts",
|
|
"compliance:i18n": "node scripts/i18n-audit.mjs",
|
|
"compliance:i18n-hardcoded": "node scripts/i18n-hardcoded-audit.mjs",
|
|
"compliance:i18n-leaks": "node scripts/i18n-leaks.mjs --check",
|
|
"compliance": "pnpm run compliance:ssot && pnpm run compliance:i18n && pnpm run compliance:i18n-hardcoded && pnpm run compliance:i18n-leaks && pnpm run compliance:i18n-stale",
|
|
"compliance:ci": "pnpm run compliance:ssot && pnpm run compliance:i18n && pnpm run compliance:i18n-hardcoded && pnpm run compliance:i18n-leaks",
|
|
"i18n:missing": "node scripts/i18n-missing.mjs",
|
|
"i18n:apply": "node scripts/i18n-apply.mjs",
|
|
"i18n:leaks": "node scripts/i18n-leaks.mjs",
|
|
"i18n:apply-leaks": "node scripts/i18n-apply-leaks.mjs",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:auth": "playwright test tests/e2e/auth-smoke.spec.ts -g 'credentials login'",
|
|
"test:e2e:journeys": "playwright test tests/e2e/*journey.spec.ts",
|
|
"test:e2e:guards": "playwright test tests/e2e/security.spec.ts tests/e2e/notification-hrefs.spec.ts tests/e2e/user-admin-flows.spec.ts",
|
|
"test:e2e:it-hilfe": "playwright test tests/e2e/it-hilfe.spec.ts",
|
|
"test:e2e:it-hilfe:journey": "playwright test tests/e2e/it-hilfe-journey.spec.ts",
|
|
"test:e2e:marketplace:journey": "playwright test tests/e2e/marketplace-checkout-journey.spec.ts",
|
|
"test:e2e:workshops:journey": "playwright test tests/e2e/workshops-journey.spec.ts",
|
|
"test:e2e:workshops:proposal:journey": "playwright test tests/e2e/workshop-proposal-journey.spec.ts",
|
|
"test:e2e:timecards:journey": "playwright test tests/e2e/timecard-journey.spec.ts",
|
|
"test:e2e:intake:journey": "playwright test tests/e2e/intake-journey.spec.ts",
|
|
"test:e2e:tasks:journey": "playwright test tests/e2e/tasks-journey.spec.ts",
|
|
"test:e2e:protocols:journey": "playwright test tests/e2e/protocols-journey.spec.ts",
|
|
"test:e2e:decisions:journey": "playwright test tests/e2e/decisions-journey.spec.ts",
|
|
"test:e2e:cms:journey": "playwright test tests/e2e/cms-journey.spec.ts",
|
|
"test:e2e:hr:journey": "playwright test tests/e2e/hr-vacancy-journey.spec.ts",
|
|
"test:e2e:it-hilfe:preferred:journey": "playwright test tests/e2e/it-hilfe-preferred-technician-journey.spec.ts",
|
|
"test:e2e:service:journey": "playwright test tests/e2e/service-appointment-journey.spec.ts",
|
|
"test:e2e:user-admin": "playwright test tests/e2e/user-admin-flows.spec.ts",
|
|
"test:e2e:inventory": "playwright test tests/e2e/feature-inventory.spec.ts",
|
|
"test:e2e:inventory:prod": "bash scripts/e2e-inventory-prod.sh",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:all": "pnpm run test && pnpm run test:e2e",
|
|
"deploy": "bash scripts/selfhost-deploy-evig.sh",
|
|
"deploy:selfhost": "bash scripts/selfhost-deploy-evig.sh",
|
|
"ship": "bash scripts/ship.sh",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"verify": "pnpm run format:check && pnpm run lint && pnpm run check:file-inputs && pnpm run lint:umlauts && pnpm run lint:chrome && pnpm run lint:docs && pnpm run lint:claims && pnpm run lint:ops && pnpm run test:ops && pnpm run compliance:ci && pnpm run typecheck && pnpm run test && pnpm run build",
|
|
"verify:main": "pnpm run format:check && pnpm run lint && pnpm run check:file-inputs && pnpm run lint:umlauts && pnpm run lint:chrome && pnpm run lint:docs && pnpm run lint:claims && pnpm run lint:ops && pnpm run test:ops && pnpm run compliance:ci && pnpm run typecheck",
|
|
"prod:build": "docker build -f Dockerfile.prod -t revampit-app:latest .",
|
|
"prod:up": "docker compose -f docker-compose.prod.yml up -d",
|
|
"prod:down": "docker compose -f docker-compose.prod.yml down",
|
|
"prod:logs": "docker compose -f docker-compose.prod.yml logs -f",
|
|
"prod:restart": "docker compose -f docker-compose.prod.yml restart",
|
|
"prod:health": "curl -f http://localhost:3000/api/health",
|
|
"hirn:ingest": "pnpm exec tsx scripts/hirn-ingest.ts",
|
|
"hirn:ingest:docs": "pnpm exec tsx scripts/hirn-ingest.ts --dir ./docs",
|
|
"hirn:ingest:src": "pnpm exec tsx scripts/hirn-ingest.ts --dir ./src --extensions .ts,.tsx",
|
|
"hirn:stats": "pnpm exec tsx scripts/hirn-ingest.ts --stats",
|
|
"transcription:start": "./services/transcription/start.sh",
|
|
"transcription:bg": "[ -d services/transcription/.venv ] && (./services/transcription/start.sh &) || echo 'Transcription venv not found. Run: pnpm run transcription:setup'",
|
|
"transcription:setup": "python3 -m venv services/transcription/.venv && services/transcription/.venv/bin/pip install faster-whisper flask",
|
|
"transcribe:local": "node scripts/transcribe-local-audio.mjs",
|
|
"prepare": "husky",
|
|
"i18n:stale": "node scripts/i18n-stale.mjs",
|
|
"i18n:stale-update": "node scripts/i18n-stale.mjs --update",
|
|
"compliance:i18n-stale": "node scripts/i18n-stale.mjs",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"db:rehearse-import": "accountkit-rehearse-import scripts/db/accountkit-import.sql"
|
|
},
|
|
"dependencies": {
|
|
"@auth/pg-adapter": "^1.11.3",
|
|
"@aws-sdk/client-s3": "^3.1160.0",
|
|
"@better-auth/passkey": "^1.7.14",
|
|
"@bitbaum/accountkit": "^0.32.1",
|
|
"@bitbaum/ai-kit": "^1.30.0",
|
|
"@bitbaum/chartkit": "^0.8.0",
|
|
"@bitbaum/chatkit": "^0.45.0",
|
|
"@bitbaum/design-tokens": "^1.7.1",
|
|
"@bitbaum/mail-kit": "^0.4.0",
|
|
"@bitbaum/searchkit": "^0.2.3",
|
|
"@bitbaum/whenkit": "^0.3.3",
|
|
"@fleet/ai-forms": "npm:@bitbaum/ai-forms@^0.1.3",
|
|
"@sentry/nextjs": "^10.76.2",
|
|
"@tiptap/core": "^3.33.0",
|
|
"@tiptap/extension-link": "^3.33.0",
|
|
"@tiptap/extension-table": "^3.33.0",
|
|
"@tiptap/pm": "^3.33.0",
|
|
"@tiptap/react": "^3.33.0",
|
|
"@tiptap/starter-kit": "^3.33.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-auth": "^1.7.14",
|
|
"@bitbaum/bip-kit": "^0.6.1",
|
|
"busboy": "^1.6.0",
|
|
"clsx": "^2.1.1",
|
|
"cookie": "^2.0.1",
|
|
"cron-parser": "^5.10.3",
|
|
"csv-parse": "^7.0.2",
|
|
"drizzle-orm": "^0.45.4",
|
|
"exceljs": "^4.4.0",
|
|
"framer-motion": "^13.4.0",
|
|
"gray-matter": "^4.0.3",
|
|
"ioredis": "^6.0.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"leaflet": "^1.9.4",
|
|
"@bitbaum/limitkit": "^0.2.1",
|
|
"lucide-react": "^1.61.0",
|
|
"mermaid": "^12.3.0",
|
|
"next": "^16.4.5",
|
|
"next-auth": "^5.0.0-beta.32",
|
|
"next-intl": "^4.14.5",
|
|
"next-themes": "^0.4.6",
|
|
"pg": "^8.23.1",
|
|
"puppeteer": "^25.16.0",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^19.3.1",
|
|
"react-dom": "^19.3.1",
|
|
"react-markdown": "^10.1.0",
|
|
"redis": "^6.3.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"server-only": "^0.0.1",
|
|
"sharp": "^0.35.5",
|
|
"shiki": "^4.5.0",
|
|
"sonner": "^2.0.8",
|
|
"swr": "^2.5.1",
|
|
"tailwind-merge": "^3.7.0",
|
|
"tiptap-markdown": "^0.9.0",
|
|
"uuid": "^14.0.3",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": "eslint --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.7",
|
|
"@eslint/js": "^10.0.1",
|
|
"@playwright/test": "^1.63.0",
|
|
"@swc/helpers": "0.5.23",
|
|
"@tailwindcss/postcss": "^4.3.4",
|
|
"@testing-library/dom": "^10.4.2",
|
|
"@testing-library/jest-dom": "^7.0.1",
|
|
"@testing-library/react": "^16.3.3",
|
|
"@testing-library/user-event": "^14.6.8",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/busboy": "^1.5.5",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/leaflet": "^1.9.22",
|
|
"@types/node": "^26.4.1",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|
"@vitest/coverage-v8": "^4.1.12",
|
|
"concurrently": "^10.0.5",
|
|
"critters": "^0.0.25",
|
|
"drizzle-kit": "^0.31.11",
|
|
"eslint": "^10.14.0",
|
|
"eslint-config-next": "^16.4.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"espree": "^11.2.0",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^30.1.3",
|
|
"lint-staged": "^17.5.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.5.32",
|
|
"prettier": "3.9.9",
|
|
"tailwindcss": "^4.3.4",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.12"
|
|
}
|
|
}
|