-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 2.39 KB
/
Copy pathpackage.json
File metadata and controls
114 lines (114 loc) · 2.39 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "my-electron-app",
"version": "1.0.0",
"description": "Electron app starter with cross-platform CI/CD, code signing, and auto-update.",
"main": "src/main.js",
"private": true,
"files": [
".github/",
".gitattributes",
".nvmrc",
"AGENTS.md",
"CHANGELOG.md",
"CONTRIBUTING.md",
"LICENSE",
"README.md",
"README.ko.md",
"SECURITY.md",
"assets/",
"docs/",
"eslint.config.js",
"scripts/",
"src/",
"tests/"
],
"engines": {
"node": ">=22"
},
"packageManager": "npm@10.9.4",
"scripts": {
"start": "electron .",
"dev": "electron . --enable-logging",
"lint": "eslint src/ tests/ scripts/ eslint.config.js",
"test": "jest --verbose --coverage",
"build": "electron-builder --dir --publish never",
"dist": "electron-builder",
"dist:mac": "electron-builder --mac",
"dist:win": "electron-builder --win",
"dist:linux": "electron-builder --linux",
"version:patch": "node scripts/bump-version.js patch",
"version:minor": "node scripts/bump-version.js minor",
"version:major": "node scripts/bump-version.js major"
},
"dependencies": {
"electron-updater": "^6.8.9"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"electron": "^42.5.0",
"electron-builder": "^26.15.3",
"eslint": "^10.7.0",
"globals": "^17.7.0",
"jest": "^30.4.2"
},
"build": {
"appId": "com.example.myapp",
"productName": "My App",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"assets/**/*"
],
"mac": {
"target": [
"dmg",
"zip"
],
"category": "public.app-category.utilities"
},
"win": {
"target": [
"nsis"
]
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"publish": {
"provider": "github"
}
},
"jest": {
"collectCoverageFrom": [
"src/main.js",
"src/ipc-registration.js",
"src/preload.js",
"src/system-info.js",
"src/navigation-policy.js",
"src/shared/**/*.js"
],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 95,
"functions": 100,
"lines": 100
}
},
"coverageReporters": [
"text",
"text-summary",
"json-summary"
]
},
"overrides": {
"tmp-promise": {
"tmp": "^0.2.6"
}
}
}