chore: improve dev scripts

This commit is contained in:
Carlos Valente
2024-06-10 09:59:13 +02:00
committed by Carlos Valente
parent 86b4ddadb5
commit 13c49f3652
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -81,6 +81,9 @@ From the project root, run the following commands
The build distribution assets will be at `.apps/electron/dist`
Note: The MacOS build will only work in CI, locally it will fail due to notarisation issues.
Use the `turbo dist-mac:local` command to build a MacOS distribution locally.
## DOCKER
Ontime provides a docker-compose file to aid with building and running docker images.
+2 -1
View File
@@ -22,9 +22,10 @@
"postinstall": "",
"lint": "eslint . --quiet",
"lint-staged": "eslint",
"dev:electron": "cross-env NODE_ENV=development electron .",
"dev": "cross-env NODE_ENV=development electron .",
"dist-win": "electron-builder --publish=never --x64 --win",
"dist-mac": "electron-builder --publish=never --mac",
"dist-mac:local": "electron-builder --publish=never --mac -c.mac.identity=null",
"dist-linux": "electron-builder --publish=never --x64 --linux",
"cleanup": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
+1
View File
@@ -31,6 +31,7 @@
},
"dist-win": {},
"dist-mac": {},
"dist-mac:local": {},
"dist-linux": {},
"cleanup": {}
}