Files
mostlymatter/e2e-tests/playwright/package.json
Saturnino Abril a47269cfe2 MM-62954 E2E/Playwright shared library (#30177)
* feat: Add package.json for Playwright library with dependencies

* feat: Add explicit exports for test.config in playwright-lib package

* feat: Add initialization setup for Mattermost E2E testing with admin and user client

* fix: Update package dependencies and resolve TypeScript build errors

* feat: Update package exports for test.config to support both CommonJS and ESM

* playwright shared library

* add README, fix pipeline

* keep file structures, move report up to playwright

* minimize API, use the prerelease versions of client and types

* bump version

* update package*.json

* resolve merge conflict

* update depedencies and merge conflicts

* update readme and fix ci

* remove unnecessary export and list all external packages

* fix import for Client4
2025-04-01 08:52:56 +08:00

35 строки
1.0 KiB
JSON

{
"name": "mattermost-playwright",
"private": true,
"workspaces": [
"lib",
"test"
],
"scripts": {
"postinstall": "npm run build",
"build": "npm run build --workspaces --if-present",
"build:watch": "npm run build:watch --workspaces --if-present",
"clean": "rm -rf node_modules logs results test-results && npm run clean --workspaces --if-present",
"tsc": "npm run tsc --workspaces --if-present",
"lint": "eslint .",
"prettier": "prettier . --check",
"prettier:fix": "prettier --write .",
"check": "npm run lint && npm run prettier && npm run tsc",
"test": "npm run test --workspace=test",
"test:ci": "npm run test:ci --workspace=test"
},
"dependencies": {
"dayjs": "1.11.13",
"@playwright/test": "1.51.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "8.28.0",
"eslint": "9.23.0",
"eslint-import-resolver-typescript": "4.2.7",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.31.0",
"prettier": "3.5.3",
"typescript": "5.7.3"
}
}