Files
trackgo-fe/package.json
T
shancheas 67e1e0a74f feat: integrate Playwright for E2E testing and enhance testing framework
- Added Playwright for end-to-end testing in the `apps/web` module, including a new `login.spec.ts` for testing login functionality.
- Updated package.json to include Playwright dependencies and new test commands for E2E testing.
- Enhanced .gitignore to exclude Playwright test results and reports.
- Modified existing documentation to reflect the integration of Playwright and updated testing guidelines.
- Refactored test commands to streamline the testing process, including a dedicated command for E2E tests.

These changes improve the testing framework by providing robust E2E testing capabilities, enhancing the reliability and quality of the application.
2026-08-31 11:52:27 +07:00

39 lines
1.9 KiB
JSON

{
"packageManager": "pnpm@8.15.6",
"name": "fe-monorepo-template",
"private": true,
"scripts": {
"build": "turbo run build",
"build:web": "turbo run build --filter=web",
"build:landing": "turbo run build --filter=landing",
"build:docs-dev": "turbo run build --filter=docs-dev",
"build:desktop": "turbo run build --filter=desktop",
"build:showcase": "turbo run build --filter=showcase",
"dev": "turbo run dev",
"dev:web": "turbo run dev --filter=web",
"dev:landing": "turbo run dev --filter=landing",
"dev:docs-dev": "turbo run dev --filter=docs-dev",
"dev:desktop": "turbo run dev --filter=web --filter=desktop --parallel",
"dev:showcase": "turbo run dev --filter=showcase",
"package:desktop": "pnpm run build:desktop && pnpm --filter desktop run package",
"package:mac": "pnpm run build:desktop && pnpm --filter desktop run package:mac",
"package:win": "pnpm run build:desktop && pnpm --filter desktop run package:win",
"package:linux": "pnpm run build:desktop && pnpm --filter desktop run package:linux",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"test": "turbo run test",
"test:e2e:web": "pnpm --filter web test:e2e",
"typecheck": "turbo run typecheck",
"typecheck:web": "turbo run typecheck --filter=web",
"typecheck:landing": "turbo run typecheck --filter=landing",
"typecheck:desktop": "turbo run typecheck --filter=desktop",
"typecheck:showcase": "turbo run typecheck --filter=showcase",
"check:all": "turbo run lint typecheck test",
"clean:workspaces": "rm -rf node_modules **/*/node_modules .turbo **/*/.turbo dist **/*/dist out **/*/out web-dist **/*/web-dist release **/*/release",
"nuke": "pnpm run clean:workspaces && pnpm install && pnpm build"
},
"devDependencies": {
"prettier": "^3.2.5",
"turbo": "^2.7.2"
}
}