-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.23 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
{
"name": "streamfetch",
"version": "1.3.0",
"description": "Desktop video downloader optimized for Windows, powered by Electron, React, and yt-dlp.",
"main": "electron/main.js",
"author": "StreamFetch Team",
"license": "MIT",
"private": true,
"scripts": {
"dev": "concurrently -k \"npm run dev:renderer\" \"npm run dev:electron\"",
"dev:renderer": "vite",
"dev:electron": "wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .",
"start": "electron .",
"build:renderer": "vite build",
"build": "npm run build:renderer && electron-builder",
"build:win": "npm run build:renderer && electron-builder --win nsis",
"build:mac": "npm run build:renderer && electron-builder --mac dmg",
"build:linux": "npm run build:renderer && electron-builder --linux AppImage"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.24",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"electron": "^34.2.0",
"electron-builder": "^25.1.8",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.17",
"vite": "^6.1.0",
"wait-on": "^8.0.1"
},
"build": {
"appId": "com.streamfetch.app",
"productName": "StreamFetch",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"package.json"
],
"extraResources": [
{
"from": "bin",
"to": "bin",
"filter": [
"**/*"
]
}
],
"win": {
"signAndEditExecutable": false,
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64"
]
}
]
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
}
],
"category": "Utility"
},
"nsis": {
"artifactName": "StreamFetch-Setup-${version}.${ext}",
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
}
}
}