forked from sickboydroid/SnapSense
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.73 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.73 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
{
"name": "snapsense",
"version": "0.1.3",
"description": "SnapSense — tray screenshot + AI overlay",
"author": "SnapSense",
"main": "src/main.js",
"scripts": {
"start": "electron .",
"dev": "electron .",
"pack": "node scripts/bake-key-for-dist.js && electron-builder --dir",
"dist": "node scripts/bake-key-for-dist.js && electron-builder",
"dist:win": "node scripts/bake-key-for-dist.js && electron-builder --win nsis --x64",
"dist:linux": "node scripts/bake-key-for-dist.js && electron-builder --linux AppImage",
"dist:mac": "node scripts/bake-key-for-dist.js && electron-builder --mac dmg",
"dist:win:local": "node scripts/bake-key-for-dist.js && electron-builder --win nsis --x64 --publish never",
"dist:linux:local": "node scripts/bake-key-for-dist.js && electron-builder --linux AppImage --publish never",
"dist:mac:local": "node scripts/bake-key-for-dist.js && electron-builder --mac dmg --publish never"
},
"build": {
"publish": {
"provider": "github",
"releaseType": "release",
"publishAutoUpdate": false
},
"afterAllArtifactBuild": "./scripts/prune-release-artifacts.js",
"appId": "com.snapsense.app",
"productName": "SnapSense",
"icon": "assets/icon.png",
"copyright": "Copyright © SnapSense",
"directories": {
"output": "dist",
"buildResources": "assets"
},
"files": [
"src/**/*",
"assets/**/*",
"package.json"
],
"win": {
"icon": "assets/icon.png",
"signAndEditExecutable": false,
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"mac": {
"icon": "assets/icon.png",
"category": "public.app-category.productivity",
"target": ["dmg"],
"extendInfo": {
"NSScreenCaptureUsageDescription": "SnapSense captures only the screen region you choose after you press the shortcut."
}
},
"dmg": {
"writeUpdateInfo": false
},
"linux": {
"icon": "assets/icon.png",
"category": "Utility",
"target": [
"AppImage"
],
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"nsis": {
"differentialPackage": false,
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "SnapSense",
"menuCategory": "SnapSense"
}
},
"devDependencies": {
"electron": "^33.2.0",
"electron-builder": "^25.1.8"
},
"dependencies": {
"dompurify": "^3.3.3",
"marked": "^17.0.5"
}
}