-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.92 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 1.92 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
{
"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",
"@faker-js/faker": "^9.8.0",
"@hmcts/playwright-common": "^1.0.36",
"@playwright/test": "^1.48.2",
"@types/luxon": "^3",
"@types/node": "^22.15.32",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"dotenv": "^17.0.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-playwright": "^2.0.0",
"eslint-plugin-prettier": "^5.5.0",
"get-port": "^7.1.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
"lighthouse": "^12.2.1",
"playwright": "^1.48.2",
"playwright-core": "^1.48.2",
"playwright-lighthouse": "^4.0.0",
"prettier": "^3.6.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
"scripts": {
"postinstall": "husky install",
"lint": "yarn tsc -p tsconfig.json && yarn eslint .",
"setup": "yarn playwright install --with-deps",
"load-secrets:dev": "yarn get-secrets pre-hmctskv-test,pre-hmctskv-dev",
"load-secrets:stg": "yarn get-secrets pre-hmctskv-test,pre-hmctskv-stg",
"load-secrets:demo": "yarn get-secrets pre-hmctskv-test,pre-hmctskv-demo",
"build-container": "docker build -t playwright-container .",
"start-container": "docker run --rm -it --network host --ipc=host -v \"$(pwd)\":/playwright -w /playwright -e CI=true -e FUNCTIONAL_TESTS_WORKERS=4 playwright-container /bin/bash",
"test:visual": "yarn playwright test tests/ --grep @visual --project=chromium",
"test:update-snapshots": "yarn playwright test tests/ --grep @visual --project=chromium --update-snapshots",
"format": "prettier --write .",
"generate:test-catalogue": "node scripts/test-catalogue-generator.js"
},
"packageManager": "yarn@4.9.4",
"dependencies": {
"luxon": "^3.7.2",
"uuid": "^11.1.0"
}
}