-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.32 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.32 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
{
"name": "console-mini",
"private": true,
"version": "0.1.3",
"description": "Turn a Mac mini into a living-room retro/PS console with a beautiful big-picture launcher.",
"main": "dist-electron/main.js",
"type": "module",
"scripts": {
"dev": "vite",
"dev:electron": "concurrently -k \"vite\" \"wait-on http://localhost:5173 && tsc -p electron && cp electron/preload.cjs dist-electron/preload.cjs && electron .\"",
"build": "tsc -b && vite build && tsc -p electron && cp electron/preload.cjs dist-electron/preload.cjs",
"start": "electron .",
"package": "npm run build && electron-builder --mac",
"lint": "eslint .",
"setup:emulators": "bash scripts/install-emulators.sh"
},
"dependencies": {
"framer-motion": "^11.11.17",
"lucide-react": "^0.460.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"zustand": "^5.0.1"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
"electron": "^33.2.0",
"electron-builder": "^25.1.8",
"eslint": "^9.15.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"wait-on": "^8.0.1"
},
"build": {
"appId": "io.consolemini.app",
"productName": "ConsoleMini",
"files": [
"dist/**/*",
"dist-electron/**/*",
"config/**/*",
"package.json"
],
"extraResources": [
{
"from": "scripts",
"to": "scripts"
}
],
"mac": {
"category": "public.app-category.games",
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
{
"target": "zip",
"arch": [
"arm64",
"x64"
]
}
],
"icon": "build/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"notarize": true
},
"dmg": {
"icon": "build/icon.icns",
"title": "ConsoleMini ${version}"
},
"directories": {
"buildResources": "build",
"output": "release"
}
}
}