fix scripts

This commit is contained in:
SpikeHD
2022-05-28 21:25:37 -07:00
parent 57cdaa7b7f
commit f1ad0b2565
3 changed files with 6193 additions and 6224 deletions

View File

@@ -21,8 +21,9 @@
"start": "cross-env BROWSER=none react-scripts start", "start": "cross-env BROWSER=none react-scripts start",
"postbuild:windows": "xcopy /E /H /C /I /Y \".\\src-tauri\\lang\" \".\\src-tauri\\target\\release\\lang\"", "postbuild:windows": "xcopy /E /H /C /I /Y \".\\src-tauri\\lang\" \".\\src-tauri\\target\\release\\lang\"",
"postbuild:linux": "cp -r \".\\src-tauri\\lang\" \".\\lang\"", "postbuild:linux": "cp -r \".\\src-tauri\\lang\" \".\\lang\"",
"build:windows": "react-scripts build && tauri build", "build:windows": "yarn tauri build",
"build:linux": "react-scripts build & tauri build", "build:linux": "yarn tauri build",
"build": "react-scripts build && run-script-os",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"tauri": "tauri", "tauri": "tauri",

View File

@@ -1,7 +1,6 @@
{ {
"$schema": "..\\node_modules/@tauri-apps/cli\\schema.json", "$schema": "..\\node_modules/@tauri-apps/cli\\schema.json",
"build": { "build": {
"beforeBuildCommand": "yarn build",
"beforeDevCommand": "yarn start", "beforeDevCommand": "yarn start",
"devPath": "http://localhost:3000", "devPath": "http://localhost:3000",
"distDir": "../build" "distDir": "../build"

12411
yarn.lock

File diff suppressed because it is too large Load Diff