-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 1.95 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 1.95 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
{
"name": "desktop-captions",
"version": "2.0.0",
"description": "A desktop captions",
"main": "dist/main.bundle.js",
"scripts": {
"start": "npm run build:webpack && xvfb-run --auto-servernum --server-args=\"-screen 0 1024x768x24\" electron .",
"pack": "npm run build:webpack && electron-builder --dir",
"pack-dist": "npm run build:webpack && electron-builder",
"build:webpack": "webpack",
"test": "echo \"No tests defined\" && exit 0"
},
"repository": "https://github.com/guan4tou2/desktop-captions",
"keywords": [
"Electron",
"quick",
"start"
],
"author": "guan4tou2 <mole30608@gmail.com>",
"license": "CC0-1.0",
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"babel-loader": "^10.0.0",
"electron": "^35.2.0",
"electron-builder": "^26.0.12",
"terser-webpack-plugin": "^5.3.14",
"webpack": "^5.99.9",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"bootstrap": "^5.3.5",
"jquery": "^3.7.1"
},
"build": {
"appId": "com.example.app",
"productName": "desktop captions",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"directories": {
"output": "pack"
},
"files": [
"dist/**/*",
"index.html",
"child.html",
"child.css",
"styles.css",
"assets/**/*",
"package.json",
"!main.js",
"!renderer.js",
"!preload.js",
"!webpack.config.js",
"!.babelrc",
"!.vscode",
"!.github"
],
"asar": true,
"win": {
"target": [
"nsis",
"portable"
],
"icon": "assets/icon.png",
"compression": "maximum"
},
"mac": {
"category": "public.app-category.utilities",
"icon": "assets/icon.png"
},
"linux": {
"icon": "assets/icon.png",
"target": [
"AppImage",
"deb"
],
"compression": "maximum"
},
"deb": {
"compression": "xz"
}
}
}