-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.44 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "sloth-archiver",
"private": true,
"version": "1.5.0",
"description": "A desktop app for downloading and archiving videos, with a built-in library and playlist tracking.",
"author": "Sloth <sloth.software.dev@protonmail.com>",
"license": "GPL-3.0-or-later",
"type": "module",
"main": "dist/electron/main.mjs",
"build": {
"appId": "com.slothsoftworks.slotharchiver.app",
"productName": "SlothArchiver",
"files": [
"dist/electron/**/*",
"dist/renderer/**/*",
"!node_modules/**/*"
],
"extraResources": [
{
"from": "dist/ytdlp-bin/",
"to": "ytdlp-bin",
"filter": [
"**/*"
]
},
{
"from": "dist/ffmpeg/",
"to": "ffmpeg",
"filter": [
"**/*"
]
},
{
"from": "dist/deno/",
"to": "deno",
"filter": [
"**/*"
]
}
],
"directories": {
"buildResources": "assets"
},
"mac": {
"target": "dmg",
"category": "public.app-category.utilities",
"identity": null
},
"win": {
"target": [
"nsis",
"portable"
]
},
"linux": {
"target": "AppImage",
"category": "AudioVideo"
}
},
"scripts": {
"dev": "electron .",
"dev:electron": "electron .",
"dev:vite": "vite",
"build": "tsc -b && vite build",
"build:nolint": "vite build",
"lint": "eslint .",
"lint:anti-slop": "oxlint .",
"check:release-version": "node scripts/check-release-version.mjs",
"preview": "vite preview",
"electron-build": "electron-builder --publish never",
"dist": "npm run build:all && npm run electron-build",
"build:renderer": "vite build",
"build:copy:electron": "node scripts/copy-electron.mjs",
"build:ytdlp:bin": "node scripts/fetch-ytdlp-bin.mjs",
"build:copy:ffmpeg": "node scripts/copy-ffmpeg.mjs",
"build:deno:bin": "node scripts/fetch-deno-bin.mjs",
"build:electron": "npm run build:copy:electron && npm run build:ytdlp:bin && npm run build:copy:ffmpeg && npm run build:deno:bin",
"build:all": "npm run build:renderer && npm run build:electron",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"prepare": "husky"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^7.3.11",
"@mui/material": "^7.3.11",
"@mui/x-date-pickers": "^9.14.0",
"@vidstack/react": "^1.15.6",
"dayjs": "^1.11.13",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router": "^8.3.0"
},
"devDependencies": {
"@eslint/js": "^9.25.0",
"@oxlint/plugins": "1.81.0",
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.3",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^6.0.5",
"@vitest/coverage-v8": "^4.1.10",
"electron": "^43.2.0",
"electron-builder": "^26.0.12",
"eslint": "^9.39.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.5.3",
"ffmpeg-static": "^5.3.0",
"ffprobe-static": "^3.1.0",
"globals": "^17.9.0",
"husky": "^9.1.7",
"jsdom": "^30.0.1",
"oxlint": "1.81.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.30.1",
"vite": "^8.2.1",
"vitest": "^4.1.10"
},
"overrides": {
"fast-uri": "^4.1.4"
}
}