Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.46 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.46 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
{
"name": "exam-timer",
"productName": "Exam Timer",
"version": "1.0.0",
"description": "นาฬิกาจับเวลาสำหรับห้องสอบ - Countdown Timer for Exam Rooms",
"main": "src/main.js",
"author": {
"name": "Natthasath Saksupanara",
"email": "natthasath.sak@gmail.com"
},
"license": "MIT",
"scripts": {
"start": "electron .",
"build": "electron-builder",
"build:win": "electron-builder --win",
"build:portable": "electron-builder --win portable",
"build:installer": "electron-builder --win nsis"
},
"devDependencies": {
"electron": "^28.0.0",
"electron-builder": "^24.9.1"
},
"build": {
"appId": "com.natthasath.examtimer",
"productName": "Exam Timer",
"copyright": "Copyright © 2024 Natthasath Saksupanara",
"directories": {
"output": "dist",
"buildResources": "assets"
},
"files": [
"src/**/*",
"assets/**/*"
],
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64", "ia32"]
},
{
"target": "portable",
"arch": ["x64"]
}
],
"publisherName": "Natthasath Saksupanara"
},
"nsis": {
"oneClick": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Exam Timer",
"license": "LICENSE"
},
"portable": {
"artifactName": "ExamTimer-Portable-${version}.${ext}"
}
}
}