-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 4.05 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 4.05 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "cmc-ccd-e2e-tests",
"version": "1.0.0",
"description": "End to End CCD tests for CMC",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"lint": "./bin/run-commands-series.sh -c \"eslint\" \"lint:no-dup-classes\"",
"lint:no-dup-classes": "eslint --config ./custom-eslint-configs/no-dup-classes.config.mjs",
"lint:staged": "./bin/run-commands-series.sh -c \"lint-staged\" \"lint:no-dup-classes\"",
"lint:fix": "eslint . --fix",
"prettier:fix": "prettier -w .",
"test:setup:playwright-install": "yarn playwright install",
"test:setup:users:ci": "npx playwright test --project users-setup --pass-with-no-tests --no-deps",
"test:setup:users-auth:ci": "npx playwright test --project users-auth-setup --pass-with-no-tests --no-deps",
"test:setup:ci": "yarn test:setup:users:ci && yarn test:setup:users-auth:ci",
"test:functional:chrome:ci": "FUNCTIONAL=true npx playwright test --project chrome-full-functional --no-deps",
"test:functional:firefox:ci": "FUNCTIONAL=true npx playwright test --project firefox-full-functional --no-deps",
"test:functional:edge:ci": "FUNCTIONAL=true npx playwright test --project edge-full-functional --no-deps",
"test:functional:safari:ci": "FUNCTIONAL=true npx playwright test --project safari-full-functional --no-deps",
"test:teardown:users-auth:ci": "npx playwright test --project users-auth-teardown --pass-with-no-tests --no-deps",
"test:teardown:users:ci": "npx playwright test --project users-teardown --pass-with-no-tests --no-deps",
"test:teardown:ci": "./bin/run-commands-series.sh -c \"test:teardown:users-auth:ci\" \"test:teardown:users:ci\" \"ts-node ./playwright/global/teardown-ci\"",
"test:functional:generate-report": "allure generate allure-functional-results --clean -o allure-functional-report",
"test:bootstrap:generate-report": "allure generate allure-bootstrap-results --clean -o allure-bootstrap-report",
"test:functional:open-report": "allure open allure-functional-report",
"test:bootstrap:open-report": "allure open allure-bootstrap-report",
"test:debug:local": "npx playwright test --project chrome-full-functional --grep @debug",
"test:functional:local": "npx playwright test --project chrome-full-functional",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hmcts/cmc-ccd-e2e-tests.git"
},
"dependencies": {
"@axe-core/playwright": "^4.9.0",
"@types/uuid": "^10.0.0",
"dependency-check": "^4.1.0",
"dotenv": "^16.4.5",
"eslint-plugin-prettier": "^5.2.1",
"html_codesniffer": "^2.5.1",
"node-cache": "^5.1.2",
"playwright-core": "^1.43.0",
"require-directory": "^2.1.1",
"typescript": "^5.4.5",
"uuidv4": "^6.2.13"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@hmcts/div-idam-test-harness": "^1.6.0",
"@playwright/test": "^1.43.0",
"@types/node": "^20.12.8",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"allure-commandline": "^2.29.0",
"allure-playwright": "2.4.0",
"codeceptjs": "^3.3.7",
"custom-eslint-plugin": "file:plugins/custom-eslint-plugins",
"eslint": "9.x",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.8.0",
"husky": "^9.1.6",
"infinite-sequence-generator": "^1.1.0",
"lint-staged": "^15.2.8",
"prettier": "^3.3.3",
"puppeteer": "^22.7.1",
"randomstring": "^1.1.5",
"sinon": "^5.0.7",
"totp-generator": "^1.0.0",
"ts-node": "^10.9.2",
"typescript-eslint": "^8.0.0",
"urlencode": "^1.1.0",
"uuid": "^8.3.2",
"webdriverio": "^6.11.3"
},
"lint-staged": {
"playwright/**/*.{ts,tsx}": "prettier --write",
"**/*.{ts,tsx,js,mjs,cjs}": "eslint"
},
"resolutions": {
"jackspeak": "2.1.1"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/hmcts/cmc-ccd-e2e-tests/issues"
},
"homepage": "https://github.com/hmcts/cmc-ccd-e2e-tests#readme",
"packageManager": "yarn@3.8.5",
"main": "index.ts",
"author": ""
}