free-games-claimer/package.json
Ralf Vogler a38e0def81 docker, #15: rm chromium profile lock before run
This locked the profile everytime a run was killed and made runs
afterwards time out. Maybe due to changed hostname, maybe due to how the
docker container kills playwright - didn't check.
https://bugs.chromium.org/p/chromium/issues/detail?id=367048
2022-05-05 16:36:32 +02:00

15 lines
695 B
JSON

{
"scripts": {
"login": "npx playwright open --save-storage=auth.json https://www.epicgames.com/login",
"codegen": "npx playwright codegen --load-storage=auth.json https://www.epicgames.com/store/en-US/free-games",
"docker:build": "docker build --tag free-games-claimer .",
"docker:epic-games": "rm -f userDataDir/SingletonLock && cross-env-shell docker run --rm -it -p 5900:5900 -p 6080:6080 -v \"$INIT_CWD/userDataDir\":/fgc/userDataDir --name free-games-claimer free-games-claimer"
},
"devDependencies": {
"@playwright/test": "^1.20.1",
"cross-env": "^7.0.3",
"playwright": "^1.20.1",
"puppeteer-extra-plugin-stealth": "^2.9.0"
},
"type": "module"
}