-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
99 lines (99 loc) · 4.85 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
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
{
"name": "@wdio/visual-testing-monorepo",
"author": "Wim Selles - wswebcreation",
"description": "Visual testing monorepo for WebdriverIO",
"license": "MIT",
"type": "module",
"private": true,
"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": "rimraf .eslintcache && eslint packages tests",
"test:unit": "vitest --coverage --run",
"test:unit:watch": "vitest --coverage --watch",
"test.local.init": "rimraf localBaseline && wdio ./tests/configs/wdio.local.init.conf.ts",
"test.local.desktop": "wdio tests/configs/wdio.local.desktop.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.saucelabs.app": "wdio ./tests/configs/wdio.saucelabs.app.conf.ts",
"test.saucelabs.emu.app": "SAUCE_ENV=emu wdio ./tests/configs/wdio.saucelabs.app.conf.ts",
"test.saucelabs.sims.app": "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": "SAUCE_ENV=desktop wdio ./tests/configs/wdio.saucelabs.web.conf.ts",
"test.saucelabs.emu.web": "SAUCE_ENV=emu wdio ./tests/configs/wdio.saucelabs.web.conf.ts",
"test.saucelabs.sims.web": "SAUCE_ENV=sims wdio ./tests/configs/wdio.saucelabs.web.conf.ts",
"test.lambdatest.desktop": "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": "LT_ENV=emu wdio ./tests/configs/wdio.lambdatest.web.conf.ts",
"test.lambdatest.sims.web": "LT_ENV=sims wdio ./tests/configs/wdio.lambdatest.web.conf.ts",
"pnpm.install.workaround": "pnpm install --shamefully-hoist",
"update.packages": "node ./scripts/update.packages.mjs",
"prepare": "husky",
"watch": "pnpm run -r --parallel watch"
},
"dependencies": {
"@wdio/visual-service": "workspace:^",
"@wdio/ocr-service": "workspace:^",
"webdriver-image-comparison": "workspace:^"
},
"pnpm": {
"overrides": {
"webdriver-image-comparison": "workspace:*"
}
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@tsconfig/node20": "^20.1.4",
"@types/eslint": "^9.6.1",
"@types/jsdom": "~21.1.7",
"@types/inquirer": "^9.0.7",
"@types/node": "^22",
"@types/xml2js": "~0.4.14",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"@typescript-eslint/utils": "^8.18.2",
"@vitest/coverage-v8": "^2.1.8",
"@wdio/appium-service": "^9.4.5",
"@wdio/cli": "^9.4.5",
"@wdio/globals": "^9.4.5",
"wdio-lambdatest-service": "^3.0.3",
"@wdio/local-runner": "^9.4.5",
"@wdio/mocha-framework": "^9.4.4",
"@wdio/sauce-service": "^9.4.5",
"@wdio/shared-store-service": "^9.4.5",
"@wdio/spec-reporter": "^9.4.4",
"@wdio/types": "^9.4.4",
"eslint": "^9.17.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-plugin-wdio": "^9.4.4",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"npm-run-all2": "^7.0.2",
"release-it": "^17.11.0",
"rimraf": "^6.0.1",
"saucelabs": "^8.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8",
"webdriverio": "^9.4.5"
}
}