mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-02-18 02:55:48 +00:00
Reconfigure cy:start-and-run script to use run-script-os to support Windows (#235)
This commit is contained in:
parent
4925f15c75
commit
2458c51dbd
@ -94,7 +94,9 @@
|
|||||||
"predeploy-wikitree": "npm run build",
|
"predeploy-wikitree": "npm run build",
|
||||||
"deploy-wikitree": "./deploy-wikitree.sh",
|
"deploy-wikitree": "./deploy-wikitree.sh",
|
||||||
"cy:run": "cypress run",
|
"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": ".",
|
"homepage": ".",
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user