mirror of
https://github.com/videojs/video.js.git
synced 2026-11-20 06:29:27 +01:00
48 lines
2.3 KiB
JSON
48 lines
2.3 KiB
JSON
{
|
|
"name": "@videojs/e2e",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"install:browsers": "playwright install",
|
|
"install:deps": "playwright install-deps || echo \"Note: Playwright system deps could not be installed. If e2e tests fail, run with sudo: sudo playwright install-deps (or sudo pnpm test:e2e:install from the workspace root)\"",
|
|
"postinstall": "node -e \"process.env.CI || process.exit(1)\" || (pnpm run install:browsers && pnpm run install:deps)",
|
|
"generate-pages": "tsx scripts/generate-pages.ts",
|
|
"measure-embed-payloads": "tsx scripts/measure-embed-payloads.ts",
|
|
"e2e": "vp run test:player",
|
|
"test:headed": "playwright test --config suites/player/playwright.config.ts --headed",
|
|
"test:debug": "playwright test --config suites/player/playwright.config.ts --debug",
|
|
"test:ui": "playwright test --config suites/player/playwright.config.ts --ui",
|
|
"test:update": "playwright test --config suites/player/playwright.config.ts --update-snapshots",
|
|
"test:chromium": "playwright test --config suites/player/playwright.config.ts --project=vite-chromium",
|
|
"test:a11y": "playwright test --config suites/player/playwright.config.ts accessibility.spec.ts --project=vite-chromium",
|
|
"test:webkit": "playwright test --config suites/player/playwright.config.ts --project=vite-webkit",
|
|
"test:vite": "vp run test:player",
|
|
"test:all": "vp run test:player && vp run test:skin-parity && vp run test:sandbox",
|
|
"test:browserstack": "playwright test --config suites/browserstack/playwright.config.ts",
|
|
"report": "playwright show-report"
|
|
},
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.13.0",
|
|
"@playwright/test": "^1.52.0",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@videojs/cdn": "workspace:*",
|
|
"@videojs/core": "workspace:*",
|
|
"@videojs/html": "workspace:*",
|
|
"@videojs/icons": "workspace:*",
|
|
"@videojs/react": "workspace:*",
|
|
"@videojs/spf": "workspace:*",
|
|
"@videojs/store": "workspace:*",
|
|
"@videojs/utils": "workspace:*",
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|
"playwright-core": "^1.52.0",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0",
|
|
"shadcn": "^4.21.4",
|
|
"vite": "catalog:",
|
|
"vite-plus": "catalog:",
|
|
"vjsc": "workspace:*"
|
|
}
|
|
}
|