FactuGES_ERP/package.json
David da362fef64 feat(e2e): implement end-to-end testing framework with database preparation and lifecycle management
- Add E2ESchemaDatabaseConfig interface for database configuration validation.
- Implement assertE2ESchemaDatabaseConfig function to enforce schema requirements.
- Create prepareE2ESchema function to handle schema preparation and initialization.
- Develop E2E lifecycle management functions to provision, prepare, and run tests.
- Introduce Docker Compose setup for E2E database environment.
- Add Playwright configuration for E2E testing.
- Implement various test cases to validate E2E schema preparation and lifecycle.
- Create utility functions for environment variable management and database assertions.
- Establish smoke tests to verify initial data setup and integrity.
2026-09-22 16:49:08 +02:00

56 lines
2.5 KiB
JSON

{
"name": "factuges-erp-2025",
"private": true,
"version": "0.10.10",
"workspaces": ["apps/*", "modules/*", "packages/*"],
"scripts": {
"build": "turbo run build",
"build:templates": "bash scripts/build-templates.sh",
"build:api": "bash scripts/build-api.sh rodax --api",
"dev": "turbo dev",
"dev:server": "turbo dev --filter=server",
"dev:client": "turbo dev --filter=client",
"format-and-lint": "biome check .",
"format-and-lint:fix": "biome check --write --unsafe .",
"create:package": "ts-node scripts/create-package.ts",
"volta:install": "curl https://get.volta.sh | bash",
"clean": "turbo run clean && rimraf ./node_modules && rimraf ./package-lock.json && rimraf ./out",
"lint": "biome lint .",
"format": "biome format --write .",
"format:check": "biome format .",
"check": "biome check .",
"check:write": "biome check --write --unsafe .",
"test:frontend": "node --experimental-test-module-mocks --import tsx --test",
"test:e2e": "node --env-file=apps/server/.env.e2e --import=tsx tests/e2e/support/run-e2e.ts",
"test:e2e:ui": "node --env-file=apps/server/.env.e2e --import=tsx tests/e2e/support/run-e2e.ts --ui",
"test:e2e:headed": "node --env-file=apps/server/.env.e2e --import=tsx tests/e2e/support/run-e2e.ts --headed",
"test:e2e:external": "E2E_EXECUTION_MODE=external node --env-file=apps/server/.env.e2e node_modules/@playwright/test/cli.js test --config=playwright.external.config.ts",
"test:e2e:external:ui": "E2E_EXECUTION_MODE=external node --env-file=apps/server/.env.e2e node_modules/@playwright/test/cli.js test --config=playwright.external.config.ts --ui",
"test:e2e:external:headed": "E2E_EXECUTION_MODE=external node --env-file=apps/server/.env.e2e node_modules/@playwright/test/cli.js test --config=playwright.external.config.ts --headed",
"test:unit": "node --import tsx --test",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"devDependencies": {
"@biomejs/biome": "2.4.11",
"@playwright/test": "^1.63.0",
"@repo/typescript-config": "workspace:*",
"@tailwindcss/postcss": "^4.2.2",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"baseline-browser-mapping": "^2.10.18",
"change-case": "^5.4.4",
"inquirer": "^13.4.1",
"plop": "^4.0.5",
"rimraf": "^6.1.3",
"tailwindcss": "^4.2.2",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"turbo": "^2.9.14",
"typescript": "6.0.2"
},
"engines": {
"node": ">=24"
},
"packageManager": "pnpm@11.25.0"
}