-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·52 lines (52 loc) · 1.41 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·52 lines (52 loc) · 1.41 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
{
"name": "buffer-publisher",
"version": "0.1.0",
"description": "Electron desktop publisher for Buffer API with temporary media URL upload fallback.",
"main": "src/main.js",
"type": "commonjs",
"scripts": {
"start": "node node_modules/electron/cli.js --no-sandbox --disable-gpu .",
"check": "node --check src/main.js && node --check src/preload.js && node --check src/renderer.js",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist:win": "electron-builder --win zip --x64",
"dist:mac": "electron-builder --mac zip --x64 --arm64"
},
"build": {
"appId": "com.zoxuan.bufferpublisher",
"productName": "Buffer发布器",
"icon": "build/icon.png",
"directories": {
"output": "release"
},
"files": [
"src/**/*",
"package.json"
],
"win": {
"icon": "build/icon.ico",
"target": [
"zip"
],
"artifactName": "${productName}-windows-${arch}-${version}.${ext}"
},
"mac": {
"icon": "build/icon.icns",
"target": [
"zip"
],
"category": "public.app-category.productivity",
"artifactName": "${productName}-mac-${arch}-${version}.${ext}"
},
"asarUnpack": [
"node_modules/@ffmpeg-installer/**"
]
},
"devDependencies": {
"electron": "^39.2.6",
"electron-builder": "^26.0.12"
},
"dependencies": {
"@ffmpeg-installer/ffmpeg": "^1.1.0"
}
}