-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
119 lines (119 loc) · 4.12 KB
/
package.json
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
115
116
117
118
119
{
"name": "cleep-desktop",
"version": "0.2.1",
"description": "Desktop application to manage your Cleep devices",
"main": "main.js",
"scripts": {
"copyfiles": "copyfiles \"html/**/*\" build/ && copyfiles \"core/**/*\" build/ && copyfiles cleepdesktopcore.py build/ && copyfiles dev-app-update.yml build/ && copyfiles package.json build/",
"copy:elevate-exe": "copyfiles --flat \"src/sudo/elevate.exe\" \"build/sudo/\"",
"build": "rimraf build && tsc && npm run copy:elevate-exe && npm run copyfiles",
"watch": "tsc -w",
"lint": "eslint -c .eslintrc --ext .ts ./src",
"start": "npm run build && electron ./build/main.js",
"build-linux": "scripts/build-linux.sh",
"build-macos": "scripts/build-mac.sh",
"build-win": "scripts\\build-windows.bat",
"publish-linux": "scripts/build-linux.sh publish",
"publish-macos": "scripts/build-mac.sh publish",
"publish-win": "scripts\\build-windows.bat publish"
},
"repository": "https://github.com/tangb/cleep-desktop",
"keywords": [
"cleep",
"rasperrypi",
"automation",
"iot"
],
"author": "Tanguy BONNEAU <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/detect-port": "^1.3.2",
"@types/node": "^18.14.6",
"@types/progress-stream": "^2.0.2",
"@types/uuid4": "^2.0.0",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"copyfiles": "^2.4.1",
"electron": "23.1.2",
"electron-builder": "^24.0.0",
"eslint": "^8.23.0",
"rimraf": "4.3",
"typescript": "^4.8.2"
},
"dependencies": {
"@electron/notarize": "^1.2.3",
"@octokit/rest": "^19.0.7",
"@sentry/electron": "^4.3.0",
"axios": "^1.3.4",
"detect-port": "^1.5.1",
"electron-dl": "^3.5.0",
"electron-is-dev": "^2.0.0",
"electron-log": "^4.4.8",
"electron-settings": "^4.0.2",
"electron-updater": "^5.3.0",
"extract-zip": "^2.0.1",
"node-wifi": "^2.0.16",
"progress-stream": "^2.0.0",
"uuid4": "^2.0.3",
"ws": "^8.12.1"
},
"build": {
"appId": "com.cleep.cleepdesktop",
"productName": "CleepDesktop",
"asar": true,
"afterPack": "./buildAfterPackHook.js",
"linux": {
"icon": "resources/",
"target": [
"AppImage"
],
"maintainer": "Tanguy Bonneau <[email protected]>",
"category": "Utility",
"executableName": "cleepdesktop",
"synopsis": "Cleep desktop application",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}"
},
"deb": {
"icon": "resources/256x256.png",
"packageCategory": "misc",
"priority": "optional",
"depends": []
},
"win": {
"icon": "resources/icon",
"target": "nsis",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}"
},
"nsis": {
"menuCategory": "Cleep",
"shortcutName": "CleepDesktop"
},
"mac": {
"category": "public.app-category.utilities",
"target": [
"dmg",
"zip"
],
"icon": "resources/icon",
"extendInfo": "config/Info.plist",
"binaries": [],
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"hardenedRuntime": true,
"entitlements": "config/entitlements.mac.plist",
"entitlementsInherit": "config/entitlements.mac.plist",
"gatekeeperAssess": false,
"minimumSystemVersion": "10.11.0"
},
"dmg": {
"icon": "resources/icon.icns",
"sign": true
},
"publish": {
"provider": "github",
"owner": "tangb",
"releaseType": "release",
"repo": "cleep-desktop"
}
}
}