package.json 配置不自动打开浏览器 和 指定端口

This commit is contained in:
shikong 2024-10-27 04:42:31 +08:00
parent 8448575d8c
commit 4a9c9e3516
Signed by: Shikong
GPG Key ID: BD85FF18B373C341

View File

@ -13,7 +13,7 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"start": "set BROWSER=none&&set PORT=3000&&react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"