docker, #15: use rimraf since rm -f is del /f on Windows
This commit is contained in:
parent
a38e0def81
commit
baebfd5b8c
2 changed files with 9 additions and 4 deletions
8
package-lock.json
generated
8
package-lock.json
generated
|
|
@ -8,7 +8,8 @@
|
||||||
"@playwright/test": "^1.20.1",
|
"@playwright/test": "^1.20.1",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"playwright": "^1.20.1",
|
"playwright": "^1.20.1",
|
||||||
"puppeteer-extra-plugin-stealth": "^2.9.0"
|
"puppeteer-extra-plugin-stealth": "^2.9.0",
|
||||||
|
"rimraf": "^3.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/code-frame": {
|
"node_modules/@babel/code-frame": {
|
||||||
|
|
@ -2591,8 +2592,9 @@
|
||||||
},
|
},
|
||||||
"node_modules/rimraf": {
|
"node_modules/rimraf": {
|
||||||
"version": "3.0.2",
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"glob": "^7.1.3"
|
"glob": "^7.1.3"
|
||||||
},
|
},
|
||||||
|
|
@ -4696,6 +4698,8 @@
|
||||||
},
|
},
|
||||||
"rimraf": {
|
"rimraf": {
|
||||||
"version": "3.0.2",
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"glob": "^7.1.3"
|
"glob": "^7.1.3"
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,14 @@
|
||||||
"login": "npx playwright open --save-storage=auth.json https://www.epicgames.com/login",
|
"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",
|
"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: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"
|
"docker:epic-games": "rimraf 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": {
|
"devDependencies": {
|
||||||
"@playwright/test": "^1.20.1",
|
"@playwright/test": "^1.20.1",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"playwright": "^1.20.1",
|
"playwright": "^1.20.1",
|
||||||
"puppeteer-extra-plugin-stealth": "^2.9.0"
|
"puppeteer-extra-plugin-stealth": "^2.9.0",
|
||||||
|
"rimraf": "^3.0.2"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue