mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
chore: clean up npm scripts, make npm run dev the full runner and drop concurrently
This commit is contained in:
1 parent
ec80a8ef8d
commit
3ee98664f0
7 files changed
+17
-147
No files matched your search
@@ -87,7 +87,8 @@ export function createDebouncer(ms, fn) {
|
||||
export const TARGETS = ["web", "electron", "docker"];
|
||||
export const DATABASES = ["sqlite", "postgres", "mysql"];
|
||||
|
||||
export const HELP = `Usage: npm run dev:all -- [target] [options]
|
||||
export const HELP = `Usage: npm run dev -- [target] [options]
|
||||
(npm run dev:electron and npm run dev:docker pick the target)
|
||||
|
||||
Targets
|
||||
web Backend and Vite on http://localhost:5173 (default)
|
||||
@@ -112,7 +113,7 @@ Keys while running
|
||||
o open the app in a browser
|
||||
q quit`;
|
||||
|
||||
/** Reads dev:all arguments. Throws on anything it does not know. */
|
||||
/** Reads npm run dev arguments. Throws on anything it does not know. */
|
||||
export function parseDevArgs(argv) {
|
||||
const options = {
|
||||
target: "web",
|
||||
|
||||
Reference in new issue
Block a user