-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.98 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
{
"name": "qrip",
"version": "0.4.3",
"description": "Desktop GUI for downloading music from Qobuz",
"main": "dist-electron/main.cjs",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"build:electron": "tsc electron/main.ts electron/preload.ts --outDir dist-electron --module commonjs --target ES2020 --moduleResolution node --skipLibCheck --esModuleInterop && node scripts/fix-preload-path.cjs",
"electron:dev": "npm run build:electron && concurrently \"vite\" \"wait-on http://localhost:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .\"",
"electron:build": "npm run build:electron && vite build && electron-builder",
"build:backend": "cd python && pyinstaller --onedir --name qrip-server --add-data \"../streamrip/config.toml:streamrip\" --paths . --paths .. server.py"
},
"dependencies": {
"electron-store": "^8.2.0",
"lucide-react": "^0.400.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"concurrently": "^8.2.2",
"cross-env": "^10.1.0",
"electron": "^31.3.1",
"electron-builder": "^24.13.3",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.3",
"vite": "^5.3.4",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.qrip.app",
"productName": "Qrip",
"icon": "img/icon.png",
"mac": {
"target": "dmg",
"category": "public.app-category.music"
},
"win": {
"target": "nsis"
},
"files": [
"dist/index.html",
"dist/assets/**/*",
"dist-electron/**/*"
],
"extraResources": [
{
"from": "python/dist/qrip-server",
"to": "backend/qrip-server"
}
],
"directories": {
"output": "release"
},
"publish": null,
"afterPack": "scripts/after-pack.cjs"
}
}