-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.14 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
{
"name": "snapdesk",
"version": "1.3.0",
"description": "A clean Windows screenshot companion.",
"main": "dist/main/main/index.js",
"private": true,
"scripts": {
"dev": "concurrently -k \"vite --host 127.0.0.1\" \"wait-on tcp:5173 && electron .\"",
"build": "npm run typecheck && vite build && tsc -p tsconfig.main.json",
"typecheck": "tsc --noEmit && tsc -p tsconfig.main.json --noEmit",
"test": "vitest run",
"package": "npm run build && electron-builder --win nsis"
},
"build": {
"appId": "com.snapdesk.app",
"productName": "SnapDesk",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"package.json",
"Uninstall SnapDesk.cmd"
],
"extraResources": [
{
"from": "resources/snapdesk-icon.png",
"to": "snapdesk-icon.png"
}
],
"win": {
"icon": "resources/snapdesk-icon.ico",
"target": [
"nsis"
]
},
"nsis": {
"include": "build/installer.nsh",
"oneClick": false,
"artifactName": "${productName} Setup ${version}.${ext}",
"installerIcon": "resources/snapdesk-icon.ico",
"uninstallerIcon": "resources/snapdesk-icon.ico",
"installerHeaderIcon": "resources/snapdesk-icon.ico",
"installerHeader": "build/installer-header.bmp",
"installerSidebar": "build/installer-sidebar.bmp",
"uninstallerSidebar": "build/installer-sidebar.bmp",
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"runAfterFinish": true,
"perMachine": false
}
},
"dependencies": {
"electron-store": "^11.0.2",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"stackblur-canvas": "^3.0.1"
},
"devDependencies": {
"@electron-forge/shared-types": "^7.8.1",
"@types/node": "^22.15.3",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.4.1",
"concurrently": "^9.1.2",
"electron": "^37.2.0",
"electron-builder": "^26.0.12",
"typescript": "^5.8.3",
"vite": "^7.0.4",
"vitest": "^3.2.4",
"wait-on": "^8.0.2"
}
}