Reconfigure cy:start-and-run script to use run-script-os to support Windows (#235)

This commit is contained in:
Adam Gross 2025-12-30 01:09:23 -08:00 committed by GitHub
parent 4925f15c75
commit 2458c51dbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,7 +94,9 @@
"predeploy-wikitree": "npm run build",
"deploy-wikitree": "./deploy-wikitree.sh",
"cy:run": "cypress run",
"cy:start-and-run": "BROWSER=none start-server-and-test start localhost:3000 cy:run"
"cy:start-and-run": "run-script-os",
"cy:start-and-run:default": "BROWSER=none start-server-and-test start localhost:3000 cy:run",
"cy:start-and-run:windows": "set BROWSER=none && start-server-and-test start localhost:3000 cy:run"
},
"homepage": ".",
"browserslist": [