-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 6.44 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 6.44 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "zinnia",
"version": "0.3.0",
"private": true,
"description": "Cross-platform 7z GUI built with Tauri.",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"test:cov:watch": "vitest --coverage",
"test:rust": "npm run prepare:7z && cargo test --manifest-path src-tauri/Cargo.toml",
"test:all": "node scripts/test-all.js",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"src/**/*.{ts,css,html}\" \"scripts/**/*.{js,ts}\" \".github/workflows/*.{yml,yaml}\" \"*.{ts,js}\" \"eslint.config.js\"",
"format:check": "prettier --check \"src/**/*.{ts,css,html}\" \"scripts/**/*.{js,ts}\" \".github/workflows/*.{yml,yaml}\" \"*.{ts,js}\" \"eslint.config.js\"",
"start": "npm run tauri:dev",
"tauri": "tauri",
"tauri:dev": "npm run sync-version && npm run licenses && npm run prepare:7z && tauri dev",
"tauri:build": "npm run sync-version && npm run licenses && npm run prepare:7z && tauri build",
"prepare:7z": "node scripts/prepare-7z.js",
"sync-version": "node scripts/sync-version.js",
"licenses": "npx npm-license-crawler --production --json public/licenses.json",
"dist:clean": "node scripts/dist-tools.js clean",
"dist:clean-release": "node scripts/dist-tools.js clean-release",
"dist:clean-release-artifacts": "node scripts/dist-tools.js clean-release-artifacts",
"dist:clean-all": "node scripts/dist-tools.js clean-all",
"wc": "npm run win-compiler:x64",
"vi": "node scripts/vi.js",
"b": "git fetch && git switch beta && npm run vi",
"r": "git switch main && npm run vi && npm run gitprune:force",
"u": "npm update && npm run release:prepare && npm run format && npm run test:all",
"win-compiler:x64": "powershell -NoProfile -ExecutionPolicy Bypass -NoExit -Command \"& 'C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\Common7\\Tools\\Launch-VsDevShell.ps1' -SkipAutomaticLocation",
"win-compiler:arm64": "powershell -NoProfile -ExecutionPolicy Bypass -NoExit -Command \"& 'C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\Common7\\Tools\\Launch-VsDevShell.ps1' -SkipAutomaticLocation -Arch arm64 -HostArch amd64\"",
"build:win:x64": "npm run sync-version && npm run licenses && npm run prepare:7z && dotenv -e .env -- tauri build --target x86_64-pc-windows-msvc --bundles nsis",
"build:win:arm64": "npm run sync-version && npm run licenses && npm run prepare:7z && dotenv -e .env -- tauri build --target aarch64-pc-windows-msvc --bundles nsis",
"build:win": "npm run build:win:x64 && npm run build:win:arm64",
"build:mac:universal": "npm run sync-version && npm run licenses && npm run prepare:7z && dotenv -e .env -- tauri build --target universal-apple-darwin --bundles dmg,app",
"build:mac:zip": "node scripts/zip-macos.js",
"mac:ssh:keychain": "bash scripts/mac-keychain-ssh.sh",
"build:linux:x64": "npm run sync-version && npm run licenses && npm run prepare:7z && dotenv -e .env -- tauri build --target x86_64-unknown-linux-gnu --bundles appimage,deb,rpm",
"build:linux:arm64": "npm run sync-version && npm run licenses && npm run prepare:7z && dotenv -e .env -- tauri build --target aarch64-unknown-linux-gnu --bundles appimage,deb,rpm",
"build:linux": "npm run build:linux:x64 && npm run build:linux:arm64",
"flatpak:bundle": "flatpak-builder --repo=flatpak-repo --force-clean flatpak-build run.rosie.zinnia.yml && flatpak build-bundle flatpak-repo dist/Zinnia-Linux.flatpak run.rosie.zinnia",
"flatpak:clean": "rm -rf flatpak-build flatpak-repo",
"release:prepare": "npm ci && npm run sync-version && cargo check --manifest-path src-tauri/Cargo.toml -q && npm run dist:clean-release-artifacts && node scripts/update-metainfo.js",
"prerelease:prepare": "node scripts/release-warning.js",
"release:finalize": "dotenv -e .env -- node scripts/post-release-assets.js && git fetch origin && git reset --hard @{u} && git clean -fd",
"release:win": "npm run release:prepare && npm run build:win && npm run release:sign:gpg && npm run release:finalize",
"release:mac": "npm run release:prepare && npm run build:mac:universal && npm run build:mac:zip && npm run release:sign:gpg && npm run release:finalize",
"release:mac:ssh": "npm run mac:ssh:keychain && npm run release:mac",
"release:linux": "npm run release:prepare && npm run build:linux && npm run flatpak:clean && npm run flatpak:bundle && npm run release:sign:gpg && npm run release:finalize",
"release:linux:x64": "npm run release:prepare && npm run build:linux:x64 && npm run flatpak:clean && npm run flatpak:bundle && npm run release:sign:gpg && npm run release:finalize",
"release:linux:arm64": "npm run release:prepare && npm run build:linux:arm64 && npm run flatpak:clean && npm run flatpak:bundle && npm run release:sign:gpg && npm run release:finalize",
"release:sign:gpg": "dotenv -e .env -- node scripts/gpg-sign.js",
"setup:deb": "sudo apt update && sudo apt install -y build-essential curl wget file libgtk-3-dev libwebkit2gtk-4.1-dev libjavascriptcoregtk-4.1-dev libsoup-3.0-dev libglib2.0-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev patchelf flatpak flatpak-builder && sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && sudo flatpak install -y flathub org.gnome.Platform//48 org.gnome.Sdk//48 org.freedesktop.Sdk.Extension.node22//24.08 org.freedesktop.Sdk.Extension.rust-stable//24.08",
"gitprune": "node scripts/git-prune-local-branches.js",
"gitprune:dry": "node scripts/git-prune-local-branches.js --dry-run",
"gitprune:force": "node scripts/git-prune-local-branches.js --force"
},
"dependencies": {
"@tauri-apps/api": "^2.0.0",
"@tauri-apps/plugin-dialog": "^2.6.0",
"@tauri-apps/plugin-notification": "^2.3.3",
"@tauri-apps/plugin-process": "^2.0.0",
"@tauri-apps/plugin-shell": "^2.3.5",
"@tauri-apps/plugin-updater": "^2.10.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2.0.0",
"@types/node": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"@vitest/coverage-v8": "^4.1.0",
"dotenv-cli": "^8.0.0",
"eslint": "^10.0.3",
"jsdom": "^29.0.0",
"npm-license-crawler": "^0.2.1",
"prettier": "^3.8.1",
"typescript": "^5.6.0",
"vite": "^7.3.1",
"vitest": "^4.1.0"
}
}