fix: 🐛修复electron不能运行的问题

This commit is contained in:
wanglihui 2024-10-21 20:39:26 +08:00
parent e9802cf091
commit 9ea8dd7260
2 changed files with 2954 additions and 2949 deletions

View File

@ -7,7 +7,7 @@
"scripts": {
"start": "cross-env BROWSER=none REACT_APP_VERSION=$npm_package_version react-app-rewired start",
"dev": "cross-env MODE=dev BROWSER=none REACT_APP_VERSION=$npm_package_version react-app-rewired start",
"dev-ele": "kill-port 3000 && concurrently -k -n=web,ele -c=green,blue \"wait-on tcp:3000 && yarn dev\" \"npm-run-all watch\"",
"dev-ele": "concurrently -k -n=web,ele -c=green,blue \"yarn dev\" \"wait-on tcp:127.0.0.1:3000 &&npm-run-all watch\"",
"watch": "tsc-watch -p tsconfig.e.json --onSuccess \"npm-run-all start:electron\"",
"start:electron": "cross-env NODE_ENV=development electron .",
"build": "cross-env REACT_APP_VERSION=$npm_package_version react-app-rewired build",

5901
yarn.lock

File diff suppressed because it is too large Load Diff