chore: add pre-build script to sync tauri.conf.json version with cargo.toml
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"debug": "bun run tauri dev",
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"build": "bun ./scripts/sync-version.ts && bun run tauri:build",
|
||||
"vite:dev": "vite dev",
|
||||
"vite:build": "vite build",
|
||||
"tauri:build": "tauri build",
|
||||
"preview": "vite preview",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"tauri": "tauri",
|
||||
"update-logo": "bun run tauri icon ./static/logo.png",
|
||||
"tauri:update-logo": "bun run tauri icon ./static/logo.png",
|
||||
"format": "prettier --write .",
|
||||
"lint": "prettier --check . && eslint ."
|
||||
},
|
||||
@@ -22,6 +22,7 @@
|
||||
"@elron/svelte-audio-store": "1.0.0",
|
||||
"@fontsource/sora": "^5.2.6",
|
||||
"@fontsource/space-mono": "^5.2.8",
|
||||
"@iarna/toml": "^2.2.5",
|
||||
"@number-flow/svelte": "^0.3.9",
|
||||
"@tailwindcss/typography": "0.5.16",
|
||||
"@tauri-apps/api": "2.6.0",
|
||||
|
Reference in New Issue
Block a user