-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.94 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.94 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
{
"name": "tcoe-playwright-example",
"version": "1.0.0",
"engines": {
"node": ">=20.11.1"
},
"type": "module",
"devDependencies": {
"@axe-core/playwright": "^4.10.0",
"@eslint/js": "^9.11.1",
"@hmcts/playwright-common": "1.1.2",
"@playwright/test": "^1.52.0",
"@types/luxon": "^3",
"@types/node": "^22.6.1",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"cross-env": "^7.0.3",
"dotenv": "^16.4.7",
"eslint": "^9.11.1",
"eslint-plugin-playwright": "^1.6.2",
"get-port": "^7.1.0",
"globals": "^15.10.0",
"husky": "^9.1.7",
"lighthouse": "^12.2.1",
"playwright": "^1.48.2",
"playwright-core": "^1.48.2",
"playwright-lighthouse": "^4.0.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
"scripts": {
"prepare": "husky",
"lint": "prettier --write . && yarn tsc -p tsconfig.json && yarn eslint .",
"setup": "yarn playwright install --with-deps",
"build": "yarn install && tsc",
"load-secrets": "node $(node -p \"require.resolve('@hmcts/playwright-common/dist/scripts/get-secrets.js')\") snl-automation-bts-stg",
"test:chrome": "yarn playwright test tests/ --project=chrome --grep-invert='(@a11y)|(@performance)'",
"test:firefox": "yarn playwright test tests/ --project=firefox --grep-invert='(@a11y)|(@performance)'",
"test:webkit": "yarn playwright test tests/ --project=webkit --grep-invert='(@a11y)|(@performance)'",
"test:edge": "yarn playwright test tests/ --project=edge --grep-invert='(@a11y)|(@performance)'",
"test:tabletchrome": "yarn playwright test tests/ --project=tabletchrome --grep-invert='(@a11y)|(@performance)'",
"test:tabletwebkit": "yarn playwright test tests/ --project=tabletwebkit --grep-invert='(@a11y)|(@performance)'",
"test:a11y": "yarn playwright test tests/ --grep @a11y --project=chrome"
},
"packageManager": "yarn@4.14.1",
"dependencies": {
"luxon": "^3.7.1",
"prettier": "^3.5.3"
}
}