-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.87 KB
/
package.json
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
{
"name": "cdp-portal-journey-tests",
"version": "0.0.0",
"type": "module",
"description": "",
"engines": {
"node": ">=20.11.1"
},
"author": "Defra DDTS",
"license": "OGL-UK-3.0",
"aliases": {
"helpers": "test/helpers",
"page-objects": "test/page-objects",
"components": "test/components"
},
"scripts": {
"clean": "rm -rf allure-results && rm -rf allure-report",
"test": "npm run clean && wdio run wdio.conf.js",
"test:local": "npm run clean && wdio run wdio.local.conf.js",
"test:local:debug": "npm run clean && DEBUG=true wdio run wdio.local.conf.js",
"test:github": "npm run clean && wdio run wdio.github.conf.js",
"format": "prettier --write 'test/**/*.js' '**/*.{cjs,js,md,json,config.js}'",
"format:check": "prettier --check 'test/**/*.js' '**/*.{js,md,json,config.js}'",
"git:pre-commit-hook": "npm run format:check && npm run lint",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"postinstall": "npm run setup:husky",
"setup:husky": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module",
"report": "allure generate allure-results --single-file --clean",
"report:publish": "npm run report; ./bin/publish-tests.sh"
},
"dependencies": {
"@wdio/allure-reporter": "9.4.3",
"@wdio/cli": "9.4.3",
"@wdio/globals": "9.4.3",
"@wdio/junit-reporter": "9.4.3",
"@wdio/local-runner": "9.4.3",
"@wdio/mocha-framework": "9.4.3",
"@wdio/spec-reporter": "9.4.3",
"allure-commandline": "2.32.0",
"esm-module-alias": "2.2.1",
"lodash": "4.17.21"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-wdio": "8.24.12",
"husky": "9.1.7",
"prettier": "3.4.2"
}
}