43 строки
1.6 KiB
JSON
43 строки
1.6 KiB
JSON
{
|
|
"scripts": {
|
|
"test": "cross-env PW_SNAPSHOT_ENABLE=true playwright test",
|
|
"test:update-snapshots": "cross-env PW_SNAPSHOT_ENABLE=true playwright test --update-snapshots",
|
|
"percy": "cross-env PERCY_TOKEN=$PERCY_TOKEN PW_PERCY_ENABLE=true percy exec -- playwright test --project=chrome --project=ipad",
|
|
"tsc": "tsc -b",
|
|
"lint": "eslint .",
|
|
"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 playwright test --ui",
|
|
"test-slomo": "cross-env 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.10.1",
|
|
"@percy/cli": "1.30.6",
|
|
"@percy/playwright": "1.0.7",
|
|
"@playwright/test": "1.49.1",
|
|
"async-wait-until": "2.0.18",
|
|
"axe-core": "4.10.2",
|
|
"chalk": "4.1.2",
|
|
"dayjs": "1.11.13",
|
|
"deepmerge": "4.3.1",
|
|
"dotenv": "16.4.7",
|
|
"form-data-encoder": "4.0.2",
|
|
"formdata-node": "6.0.3",
|
|
"uuid": "11.0.5",
|
|
"zod": "3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/uuid": "10.0.0",
|
|
"@typescript-eslint/eslint-plugin": "8.20.0",
|
|
"@typescript-eslint/parser": "8.20.0",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "9.18.0",
|
|
"prettier": "3.4.2",
|
|
"typescript": "5.7.3"
|
|
}
|
|
}
|