|
1 | 1 | {
|
2 |
| - "name": "thecyberhub-desktop", |
| 2 | + "name": "TheCyberHUB-Desktop", |
3 | 3 | "version": "1.0.0",
|
4 |
| - "main": "src/main.js", |
5 | 4 | "description": "A desktop application for TheCyberHUB website",
|
| 5 | + "main": "src/main.js", |
6 | 6 | "author": "Your Name",
|
| 7 | + "license": "MIT", |
| 8 | + "homepage": "https://thecyberhub.com", |
7 | 9 | "scripts": {
|
8 | 10 | "start": "electron .",
|
9 |
| - "package": "electron-builder" |
| 11 | + "package": "electron-builder", |
| 12 | + "build": "electron-builder --win --mac --linux", |
| 13 | + "lint": "eslint .", |
| 14 | + "test": "echo \"No tests specified\" && exit 0" |
10 | 15 | },
|
11 | 16 | "build": {
|
12 | 17 | "appId": "com.thecyberhub.desktop",
|
13 | 18 | "files": [
|
14 | 19 | "dist/**/*",
|
15 | 20 | "src/main.js"
|
16 | 21 | ],
|
17 |
| - "icon": "dict/assets/th3cyb3rhub-fav.png" |
| 22 | + "icon": "dict/assets/th3cyb3rhub-fav.png", |
| 23 | + "mac": { |
| 24 | + "category": "public.app-category.utilities", |
| 25 | + "target": [ |
| 26 | + "dmg" |
| 27 | + ] |
| 28 | + }, |
| 29 | + "linux": { |
| 30 | + "target": [ |
| 31 | + "AppImage" |
| 32 | + ] |
| 33 | + }, |
| 34 | + "win": { |
| 35 | + "target": [ |
| 36 | + "nsis" |
| 37 | + ] |
| 38 | + }, |
| 39 | + "publish": { |
| 40 | + "provider": "github", |
| 41 | + "owner": "th3cyb3rhub", |
| 42 | + "repo": "TheCyberHUB-Desktop", |
| 43 | + "releaseType": "release" |
| 44 | + } |
18 | 45 | },
|
19 | 46 | "devDependencies": {
|
| 47 | + "dmg-license": "^1.0.11", |
20 | 48 | "electron": "^33.0.2",
|
21 |
| - "electron-builder": "^25.1.8" |
| 49 | + "electron-builder": "^25.1.8", |
| 50 | + "eslint": "^8.0.0" |
| 51 | + }, |
| 52 | + "repository": { |
| 53 | + "type": "git", |
| 54 | + "url": "git+https://github.com/th3cyb3rhub/TheCyberHUB-Desktop.git" |
| 55 | + }, |
| 56 | + "bugs": { |
| 57 | + "url": "https://github.com/th3cyb3rhub/TheCyberHUB-Desktop/issues" |
22 | 58 | }
|
23 | 59 | }
|
0 commit comments