-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.91 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.91 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "cinesoft",
"version": "1.0.0",
"description": "Open-source Windows media manager with torrent/download support.",
"main": "main.js",
"scripts": {
"dev": "vite",
"electron": "electron .",
"start": "concurrently --kill-others --success first \"npm run dev\" \"wait-on http://localhost:5173 && npm run electron\"",
"test": "node --test \"src/**/*.test.mjs\"",
"clean:vlc-host": "powershell -NoProfile -ExecutionPolicy Bypass -Command \"if (Test-Path 'resources/vlc-host') { Remove-Item -LiteralPath 'resources/vlc-host' -Recurse -Force }\"",
"build:vlc-host": "npm run clean:vlc-host && dotnet publish tools/vlc-host/Cinesoft.VlcHost.csproj -c Release -r win-x64 --self-contained false -o resources/vlc-host",
"build:all": "npm run build:vlc-host && npm run build",
"build": "vite build",
"build:portable": "npm run build:all && electron-builder --win portable",
"build:installer": "npm run build:all && electron-builder --win nsis"
},
"keywords": [
"electron",
"react",
"windows",
"media-manager",
"torrent",
"download-manager",
"prowlarr",
"cinesoft"
],
"author": "Mustafa Özmen",
"license": "MIT",
"type": "commonjs",
"devDependencies": {
"@vitejs/plugin-react": "^6.0.1",
"concurrently": "^9.2.1",
"electron": "^41.3.0",
"electron-builder": "^26.8.1",
"vite": "^8.0.10",
"wait-on": "^9.0.5"
},
"dependencies": {
"axios": "^1.15.2",
"electron-is-dev": "^3.0.1",
"electron-store": "^6.0.1",
"extract-zip": "^2.0.1",
"lucide-react": "^1.14.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-router-dom": "^7.14.2"
},
"build": {
"appId": "com.margthus.cinesoft",
"productName": "CineSoft",
"directories": {
"buildResources": "build",
"output": "dist-release"
},
"files": [
"main.js",
"preload.js",
"renderer/**/*",
"src/**/*",
"package.json",
"node_modules/**/*"
],
"extraResources": [
{
"from": "build/icon.ico",
"to": "build/icon.ico"
},
{
"from": "resources/vlc-host",
"to": "vlc-host",
"filter": [
"**/*"
]
}
],
"asarUnpack": [
"src/torrent/**/*.py"
],
"win": {
"target": [
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico"
},
"portable": {
"artifactName": "CineSoft-${version}-portable.exe"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"deleteAppDataOnUninstall": false,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "CineSoft",
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico"
}
}
}