mirror of
https://github.com/mattermost/mattermost.git
synced 2026-04-11 12:07:53 -04:00
* chore: upgrade to playwright@1.43 and its dependencies * fix lint * attempt to fix lint error on console
40 lines
1.7 KiB
JSON
40 lines
1.7 KiB
JSON
{
|
|
"scripts": {
|
|
"test": "cross-env NODE_OPTIONS='--no-experimental-fetch' PW_SNAPSHOT_ENABLE=true playwright test",
|
|
"test:update-snapshots": "cross-env NODE_OPTIONS='--no-experimental-fetch' PW_SNAPSHOT_ENABLE=true playwright test --update-snapshots",
|
|
"percy": "cross-env NODE_OPTIONS='--no-experimental-fetch' PERCY_TOKEN=$PERCY_TOKEN PW_PERCY_ENABLE=true percy exec -- playwright test --project=chrome --project=ipad",
|
|
"tsc": "tsc -b",
|
|
"lint": "eslint . --ext .js,.ts",
|
|
"prettier": "prettier . --check",
|
|
"prettier:fix": "prettier --write .",
|
|
"check": "npm run tsc && npm run lint && npm run prettier",
|
|
"codegen": "cross-env playwright codegen $PW_BASE_URL",
|
|
"playwright-ui": "cross-env NODE_OPTIONS='--no-experimental-fetch' playwright test --ui",
|
|
"test-slomo": "cross-env NODE_OPTIONS='--no-experimental-fetch' PW_SNAPSHOT_ENABLE=true PW_SLOWMO=1000 playwright test",
|
|
"show-report": "npx playwright show-report",
|
|
"postinstall": "script/post_install.sh"
|
|
},
|
|
"dependencies": {
|
|
"@axe-core/playwright": "4.9.0",
|
|
"@percy/cli": "1.28.3",
|
|
"@percy/playwright": "1.0.5",
|
|
"@playwright/test": "1.43.1",
|
|
"async-wait-until": "2.0.12",
|
|
"axe-core": "4.9.0",
|
|
"chalk": "4.1.2",
|
|
"deepmerge": "4.3.1",
|
|
"dotenv": "16.4.5",
|
|
"form-data": "4.0.0",
|
|
"isomorphic-unfetch": "4.0.2",
|
|
"uuid": "9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/uuid": "9.0.8",
|
|
"@typescript-eslint/eslint-plugin": "7.2.0",
|
|
"@typescript-eslint/parser": "7.2.0",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "8.57.0",
|
|
"prettier": "3.2.5",
|
|
"typescript": "5.4.5"
|
|
}
|
|
}
|