-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
executable file
·42 lines (42 loc) · 1.94 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
{
"$schema": "http://json.schemastore.org/package",
"private": true,
"name": "@siteimprove/alfa-examples",
"scripts": {
"build": "tsc --build",
"watch": "tsc --build --watch",
"clean": "tsc --build --clean",
"knip": "knip -c config/knip.ts",
"test": "yarn workspaces foreach -A -v -p --exclude 'end-to-end-testing-{puppeteer,webdriver}' --exclude 'custom-testing-{crawling,measuring-performance}' --exclude 'unit-testing-angular' --exclude 'code-checker-*' run test",
"code-checker:comment": "echo 'First start the server with `yarn code-checker:start`, next run the tests with `yarn code-checker:test`. The tests are failing since the pages are purposefully not accessible; do not run them in blocking CI flows.'",
"code-checker:start": "yarn workspace code-checker-demo-site run dev",
"code-checker:test": "yarn workspaces foreach -A -v -p --include 'code-checker-*' --exclude 'code-checker-demo-site' run test",
"code-checker:cypress": "yarn workspace code-checker-cypress run test",
"code-checker:playwright": "yarn workspace code-checker-playwright run test",
"code-checker:puppeteer": "yarn workspace code-checker-puppeteer run test",
"code-checker:selenium": "yarn workspace code-checker-selenium run test"
},
"workspaces": [
"common",
"accessibility-code-checker/*",
"custom-testing/*",
"end-to-end-testing/*",
"unit-testing/*"
],
"devDependencies": {
"@types/node": "^22.5.4",
"knip": "^5.29.1",
"playwright": "^1.47.0",
"prettier": "^3.0.0",
"typescript": "^5.0.4"
},
"//": [
"Somehow, https://github.com/enzymejs/enzyme/blob/master/packages/enzyme/package.json correctly pins cheerio",
"but once installed it is replaced with ^1.0.0-rc.3 which resolves to 1.0.0 whose internal organisation has",
"changed. This results in non-working enzyme installation."
],
"resolutions": {
"enzyme/cheerio": "=1.0.0-rc.3"
},
"packageManager": "yarn@4.6.0"
}