Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 5.55 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 5.55 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
95
96
97
98
99
100
101
102
103
{
"name": "@wdio/visual-testing-monorepo",
"author": "Wim Selles - wswebcreation",
"description": "Visual testing monorepo for WebdriverIO",
"license": "MIT",
"type": "module",
"private": true,
"engines": {
"node": ">=22.23.4 <23 || >=24.22.1 <25 || >=26.12.1",
"pnpm": ">=11"
},
"repository": {
"type": "git",
"url": "https://github.com/webdriverio-community/visual-testing.git"
},
"scripts": {
"build": "pnpm run -r build",
"build:reporter": "node ./packages/visual-reporter/dist/cli.js --jsonOutput=.tmp/actual/output.json --reportFolder=.tmp/ --logLevel=debug",
"clean": "rimraf coverage dist .tmp **/dist",
"release": "run-s build && changeset publish",
"test": "run-s test:*",
"test:lint": "oxlint packages tests",
"lint:fix": "oxlint --fix packages tests",
"test:types": "tsc -p tests/tsconfig.json --noEmit",
"test:unit": "vitest --coverage --run",
"test:unit:report": "cross-env VITEST_HTML_REPORT=true vitest --coverage --run",
"test:unit:ui": "vitest --coverage --ui",
"test:unit:watch": "vitest --coverage --watch",
"test.local.init": "rimraf localBaseline && SAVE_ACTUAL=true wdio ./tests/configs/wdio.local.init.conf.ts",
"test.local.desktop": "wdio tests/configs/wdio.local.desktop.conf.ts",
"test.local.chrome.v10": "wdio tests/configs/wdio.local.chrome.v10.conf.ts",
"test.local.chrome.v10.jasmine": "wdio tests/configs/wdio.local.chrome.v10.jasmine.conf.ts",
"test.local.chrome.v10.emulation": "wdio tests/configs/wdio.local.chrome.v10.emulation.conf.ts",
"test.local.emus.app": "wdio tests/configs/wdio.local.android.emus.app.conf.ts",
"test.local.emus.web": "wdio tests/configs/wdio.local.android.emus.web.conf.ts",
"test.local.sims.app": "wdio tests/configs/wdio.local.ios.sims.app.conf.ts",
"test.local.sims.web": "wdio tests/configs/wdio.local.ios.sims.web.conf.ts",
"test.local.desktop.multi": "wdio tests/configs/wdio.local.desktop.multi.conf.ts",
"test.local.multi.web.app": "wdio tests/configs/wdio.local.multi.web.app.conf.ts",
"test.local.desktop.storybook": "wdio tests/configs/wdio.local.desktop.storybook.conf.ts --storybook --numShards=10 --url=https://govuk-react.github.io/govuk-react/ --skipStories=\"/.*(loading-box|spinner).*/\"",
"test.local.desktop.storybook.localhost": "wdio tests/configs/wdio.local.desktop.storybook.conf.ts --storybook --numShards=10",
"test.local.desktop.storybook.localhost.custom": "npm run test.local.desktop.storybook.localhost -- --skipStories='/example-page.*/gm' --spec='tests/specs/storybook-interaction/*.ts'",
"test.ocr.local.desktop": "wdio tests/configs/wdio.ocr.local.desktop.conf.ts",
"test.ocr.saucelabs.desktop": "SAUCE=true wdio tests/configs/wdio.ocr.saucelabs.conf.ts",
"test.ocr.lambdatest.desktop": "wdio tests/configs/wdio.ocr.lambdatest.conf.ts",
"test.unit.coverage": "vitest --coverage",
"test.bs.real.device": "wdio tests/configs/browserstack.real.device.conf.ts",
"test.saucelabs.app": "wdio ./tests/configs/wdio.saucelabs.app.conf.ts",
"test.saucelabs.emu.app": "cross-env SAUCE_ENV=emu wdio ./tests/configs/wdio.saucelabs.app.conf.ts",
"test.saucelabs.sims.app": "cross-env SAUCE_ENV=sims wdio ./tests/configs/wdio.saucelabs.app.conf.ts",
"test.saucelabs.web": "wdio ./tests/configs/wdio.saucelabs.web.conf.ts",
"test.saucelabs.desktop": "cross-env SAUCE_ENV=desktop wdio ./tests/configs/wdio.saucelabs.web.conf.ts",
"test.saucelabs.emu.web": "cross-env SAUCE_ENV=emu wdio ./tests/configs/wdio.saucelabs.web.conf.ts",
"test.saucelabs.sims.web": "cross-env SAUCE_ENV=sims wdio ./tests/configs/wdio.saucelabs.web.conf.ts",
"test.lambdatest.desktop": "cross-env LT_ENV=desktop wdio ./tests/configs/wdio.lambdatest.web.conf.ts",
"test.lambdatest.web": "wdio ./tests/configs/wdio.lambdatest.web.conf.ts",
"test.lambdatest.emu.web": "cross-env LT_ENV=emu wdio ./tests/configs/wdio.lambdatest.web.conf.ts",
"test.lambdatest.sims.web": "cross-env LT_ENV=sims wdio ./tests/configs/wdio.lambdatest.web.conf.ts",
"update.packages": "node ./scripts/update.packages.mjs",
"prepare": "husky",
"watch": "pnpm run -r --parallel watch"
},
"devDependencies": {
"@changesets/cli": "^3.0.3",
"@inquirer/prompts": "^8.7.5",
"@stylistic/eslint-plugin": "^5.10.0",
"@tsconfig/node22": "^22.0.6",
"@types/jsdom": "~30.0.0",
"@types/node": "^24",
"@types/xml2js": "~0.4.14",
"@vitest/coverage-v8": "^5.0.3",
"@vitest/ui": "^5.1.0",
"@wdio/appium-service": "^10.2.0",
"@wdio/browserstack-service": "^9.42.3",
"@wdio/cli": "^10.2.0",
"@wdio/globals": "^10.2.0",
"@wdio/image-comparison-core": "workspace:*",
"@wdio/jasmine-framework": "^10.2.0",
"@wdio/local-runner": "^10.2.0",
"@wdio/mocha-framework": "^10.2.0",
"@wdio/ocr-service": "workspace:*",
"@wdio/sauce-service": "^10.2.0",
"@wdio/shared-store-service": "^10.2.0",
"@wdio/spec-reporter": "^10.2.0",
"@wdio/types": "^10.2.0",
"@wdio/visual-service": "workspace:*",
"cross-env": "^10.1.0",
"expect-webdriverio": "^8.0.0",
"husky": "^9.1.7",
"jsdom": "^30.1.3",
"npm-run-all2": "^9.0.4",
"oxlint": "^1.91.0",
"release-it": "^21.1.2",
"rimraf": "^6.1.4",
"saucelabs": "^9.3.0",
"typescript": "^6.0.3",
"vitest": "^5.0.3",
"vitest-mock-extended": "^5.1.1",
"wdio-lambdatest-service": "^4.0.1",
"webdriverio": "^10.2.0"
},
"packageManager": "pnpm@11.28.2+sha512.755ce2fe3c05bfd7bb412b42aff3c5c55cd38c529c6eca810475497ae36746c571e4b6e1814e6e7e4b97d7ee864b8a0e44673c3b297a50e0ac28771c5ce15d27"
}