-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.65 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "tcoe-playwright-example",
"version": "1.0.0",
"engines": {
"node": ">=20.11.1"
},
"type": "module",
"devDependencies": {
"@axe-core/playwright": "^4.11.0",
"@eslint/js": "^9.11.1",
"@hmcts/playwright-common": "^1.1.0",
"@playwright/test": "^1.57.0",
"@types/node": "^22.15.34",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"axios": "^1.7.4",
"cross-env": "^7.0.3",
"dotenv": "^17.0.0",
"eslint": "^9.11.1",
"eslint-plugin-playwright": "^2.0.0",
"get-port": "^7.1.0",
"globals": "^16.0.0",
"lighthouse": "^12.2.1",
"odhin-reports-playwright": "1.1.8",
"playwright": "^1.57.0",
"playwright-core": "^1.57.0",
"playwright-lighthouse": "^4.0.0",
"postcss": "^8.4.49",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0",
"vitest": "^1.6.1",
"winston": "^3.13.0"
},
"scripts": {
"playwright": "node ./scripts/cleanup-playwright.mjs && cross-env NODE_OPTIONS= playwright",
"lint": "yarn tsc -p tsconfig.json && yarn eslint .",
"setup": "yarn playwright install --with-deps",
"setup:edge": "PLAYWRIGHT_BROWSERS_PATH=0 yarn playwright install msedge --with-deps",
"load-secrets": "yarn get-secrets prl-aat",
"test:chrome": "yarn playwright test tests/ --project=chrome --grep-invert='(@a11y)|(@performance)|(@visual)'",
"test:firefox": "yarn playwright test tests/ --project=firefox --grep-invert='(@a11y)|(@performance)|(@visual)'",
"test:webkit": "yarn playwright test tests/ --project=webkit --grep-invert='(@a11y)|(@performance)|(@visual)'",
"test:edge": "yarn playwright test tests/ --project=edge --grep-invert='(@a11y)|(@performance)|(@visual)'",
"test:tabletchrome": "yarn playwright test tests/ --project=tabletchrome --grep-invert='(@a11y)|(@performance)|(@visual)'",
"test:tabletwebkit": "yarn playwright test tests/ --project=tabletwebkit --grep-invert='(@a11y)|(@performance)|(@visual)'",
"test:a11y": "yarn playwright test tests/ --grep @a11y --project=chrome",
"start-container": "docker compose run --rm playwright",
"test:visual": "yarn playwright test tests/ --grep @visual --project=chromium",
"test:update-snapshots": "yarn playwright test tests/ --grep @visual --project=chromium --update-snapshots",
"test:unit": "vitest run",
"test:api": "yarn playwright test --project=api",
"report:coverage": "node ./scripts/coverage-summary.mjs",
"report:api-endpoints": "node ./scripts/api-endpoints-report.mjs",
"copy-odhin-report": "node ./scripts/copy-odhin-report.mjs"
},
"packageManager": "yarn@4.9.4",
"dependencies": {
"uuid": "^11.1.0"
}
}