-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) Β· 2.57 KB
/
package.json
File metadata and controls
37 lines (37 loc) Β· 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "snaprun",
"version": "1.0.0",
"description": "Instant Windows Automation with a snap of your fingers",
"type": "module",
"scripts": {
"start": "vite",
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"tauri": "tauri",
"build:frontend": "vite build",
"build:tauri": "tauri build",
"build:project": "pnpm run build:frontend && pnpm run build:tauri",
"build:inno": "powershell -ExecutionPolicy Bypass -File ./build_inno_setup.ps1",
"clean": "powershell -Command \"if (Test-Path 'dist') { Remove-Item -Recurse -Force 'dist' }; if (Test-Path 'src-tauri/target/release') { Remove-Item -Recurse -Force 'src-tauri/target/release' }\"",
"release": "pnpm run clean && pnpm run build:project && pnpm run build:inno",
"release:full": "pnpm run clean && pnpm install && pnpm run build:project && pnpm run build:inno && pnpm run package:info",
"package:info": "powershell -Command \"Write-Host ''; Write-Host 'π Release Complete!' -ForegroundColor Green; Write-Host ''; Write-Host 'π¦ Available Installers:' -ForegroundColor Cyan; if (Test-Path 'src-tauri/target/release/bundle/msi/*.msi') { Write-Host ' β
MSI Installer' -ForegroundColor Green } else { Write-Host ' β MSI Installer' -ForegroundColor Red }; if (Test-Path 'src-tauri/target/release/bundle/nsis/*.exe') { Write-Host ' β
NSIS Installer' -ForegroundColor Green } else { Write-Host ' β NSIS Installer' -ForegroundColor Red }; if (Test-Path 'src-tauri/target/release/bundle/inno/*.exe') { Write-Host ' β
Inno Setup Installer' -ForegroundColor Green } else { Write-Host ' β Inno Setup Installer' -ForegroundColor Red }; Write-Host ' β
Standalone Executable' -ForegroundColor Green; Write-Host ''; Write-Host 'π Output Locations:' -ForegroundColor Cyan; Write-Host ' MSI: src-tauri/target/release/bundle/msi/' -ForegroundColor Yellow; Write-Host ' NSIS: src-tauri/target/release/bundle/nsis/' -ForegroundColor Yellow; Write-Host ' Inno: src-tauri/target/release/bundle/inno/' -ForegroundColor Yellow; Write-Host ' EXE: src-tauri/target/release/tauri-app.exe' -ForegroundColor Yellow; Write-Host ''\"",
"test:install": "powershell -ExecutionPolicy Bypass -File ./test_installation.bat"
},
"license": "MIT",
"dependencies": {
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-opener": "^2",
"lucide-solid": "^0.544.0",
"monaco-editor": "^0.48.0",
"solid-js": "^1.9.3",
"solid-monaco": "^0.3.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2",
"typescript": "~5.6.2",
"vite": "^6.0.3",
"vite-plugin-solid": "^2.11.0"
}
}