{ "name": "everything-is-suitable-test", "version": "1.0.0", "description": "E2E测试框架", "scripts": { "test": "playwright test", "test:e2e": "playwright test", "test:e2e:smoke": "playwright test --grep @smoke", "test:e2e:regression": "playwright test --grep @regression", "test:e2e:full": "playwright test --grep @full", "test:e2e:headed": "playwright test --headed", "test:e2e:debug": "playwright test --debug", "test:e2e:ui": "playwright test --ui", "test:e2e:report": "playwright show-report test-results/html-report", "test:headed": "playwright test --headed", "test:debug": "playwright test --debug", "test:ui": "playwright test --ui", "test:report": "playwright show-report", "test:install": "playwright install", "test:install-deps": "playwright install-deps", "test:codegen": "playwright codegen", "test:progress": "playwright test --reporter=./e2e/reporters/progress-bar-reporter.ts", "test:glob": "playwright test --reporter=./e2e/reporters/progress-bar-reporter.ts", "test:quick": "playwright test --project=chromium --reporter=./e2e/reporters/progress-bar-reporter.ts", "test:all": "playwright test --reporter=./e2e/reporters/progress-bar-reporter.ts", "test:config": "playwright test config/**/*.spec.ts --reporter=./e2e/reporters/progress-bar-reporter.ts", "test:examples": "playwright test examples/**/*.spec.ts --reporter=./e2e/reporters/progress-bar-reporter.ts", "test:coverage": "playwright test --reporter=./e2e/reporters/progress-bar-reporter.ts && cat test-results/coverage/coverage.json", "test:full": "ts-node scripts/run-all-tests.ts", "test:full:api": "ts-node scripts/run-all-tests.ts --modules api", "test:full:admin": "ts-node scripts/run-all-tests.ts --modules admin", "test:full:uniapp": "ts-node scripts/run-all-tests.ts --modules uniapp", "test:full:no-services": "ts-node scripts/run-all-tests.ts --no-services", "test:full:no-tdd": "ts-node scripts/run-all-tests.ts --no-tdd", "lint": "eslint e2e --ext .ts", "lint:fix": "eslint e2e --ext .ts --fix", "format": "prettier --write e2e" }, "devDependencies": { "@faker-js/faker": "^10.3.0", "@playwright/test": "^1.40.0", "@types/node": "^20.0.0", "ansi-colors": "^4.1.3", "eslint": "^8.55.0", "prettier": "^3.1.0", "ts-node": "^10.9.2", "typescript": "^5.3.0" }, "engines": { "node": ">=18.0.0", "npm": ">=9.0.0" } }