-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.72 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.72 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
{
"name": "image-web-optimize",
"version": "2.0.0",
"description": "Image & video optimizer — CLI and desktop app",
"main": "out/main/index.js",
"scripts": {
"dev": "env -u ELECTRON_RUN_AS_NODE electron-vite dev",
"build": "env -u ELECTRON_RUN_AS_NODE electron-vite build && electron-builder --mac",
"preview": "env -u ELECTRON_RUN_AS_NODE electron-vite preview",
"cli": "node index.mjs",
"postinstall": "electron-rebuild -f -w sharp && ([ \"$(uname)\" = \"Darwin\" ] && codesign --verify --deep node_modules/electron/dist/Electron.app 2>/dev/null || codesign --force --deep --sign - node_modules/electron/dist/Electron.app || true)"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"ffmpeg-static": "^5.2.0",
"fluent-ffmpeg": "^2.1.3",
"fs-extra": "^11.3.0",
"sharp": "^0.34.2",
"slugify": "^1.6.6"
},
"devDependencies": {
"@electron/rebuild": "^3.7.1",
"@types/fluent-ffmpeg": "^2.1.28",
"@types/fs-extra": "^11.0.4",
"@types/node": "^25.3.0",
"electron": "^40.6.0",
"electron-builder": "^25.1.8",
"electron-vite": "^5.0.0",
"typescript": "^5.9.3",
"vite": "^7.3.1"
},
"build": {
"appId": "com.marko.optimizer",
"productName": "Optimizer",
"mac": {
"target": "dmg",
"category": "public.app-category.productivity",
"extendInfo": {
"NSMicrophoneUsageDescription": "Used to record microphone audio.",
"NSScreenCaptureUsageDescription": "Used to record screen content."
}
},
"files": [
"out/**/*",
"node_modules/**/*"
],
"asarUnpack": [
"node_modules/sharp/**/*",
"node_modules/@img/**/*",
"node_modules/ffmpeg-static/**/*"
]
}
}