-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.42 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.42 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
{
"name": "twse-auto-evoting",
"version": "1.5.4",
"description": "股東會投票幫手",
"main": "main.js",
"scripts": {
"start": "electron .",
"dev": "nodemon --watch src --watch main.js --watch preload.js --ext js,html,css --exec electron .",
"build:win": "cross-env ELECTRON_BUILDER_COMPRESSION_LEVEL=1 electron-builder --win",
"build:mac": "electron-builder --mac",
"build:all": "electron-builder -mw",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"cross-env": "^10.1.0",
"electron": "^30.0.0",
"electron-builder": "^26.8.1",
"electron-icon-builder": "^2.0.1",
"eslint": "^9.12.0",
"nodemon": "^3.1.14"
},
"build": {
"appId": "com.ssarcandy.twse-auto-evoting",
"productName": "TWSE Auto eVoting",
"artifactName": "TWSE-Auto-eVoting-v${version}.${ext}",
"directories": {
"output": "dist"
},
"win": {
"target": [
"portable"
],
"icon": "assets/icons/icon.ico"
},
"mac": {
"target": [
"dmg"
],
"icon": "assets/icons/icon.icns",
"category": "public.app-category.utilities"
},
"dmg": {
"title": "股東會投票幫手-v${version}"
},
"files": [
"main.js",
"preload.js",
"src/**/*",
"assets/icons/icon.png"
],
"asar": true,
"compression": "normal"
}
}