(project) install e2e playwright

Install playwright, adapt the config file and add a scripts to
run the tests.
e2e testing will monitor all our frontend applications,
so we install it in the frontend folder.
It configures the base of our monorepo.
This commit is contained in:
Anthony LC
2024-01-11 12:31:08 +01:00
committed by Anthony LC
parent fc7747dddf
commit 2ef31a424a
8 changed files with 260 additions and 69 deletions

23
src/frontend/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "people",
"version": "0.1.0",
"private": true,
"workspaces": {
"packages": [
"apps/*"
]
},
"scripts": {
"APP_DESK": "yarn workspace app-desk",
"APP_E2E": "yarn workspace app-e2e",
"app:dev": "yarn APP_DESK run dev",
"app:start": "yarn APP_DESK run start",
"app:build": "yarn APP_DESK run build",
"app:test": "yarn APP_DESK run test",
"e2e:test": "yarn APP_E2E run test"
},
"resolutions": {
"@types/node": "20.10.8",
"typescript": "5.3.3"
}
}