Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.7 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 2.7 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "magi",
"version": "2.2.1",
"description": "MAGI - local media hub: novel reader + foobar-style music library + libVLC video player, built on Electron + React",
"main": "electron/main.cjs",
"author": "noemoe5",
"license": "AGPL-3.0-or-later",
"homepage": "https://github.com/noemoe5/MAGI#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/noemoe5/MAGI.git"
},
"bugs": {
"url": "https://github.com/noemoe5/MAGI/issues"
},
"keywords": [
"electron",
"epub-reader",
"music-player",
"video-player",
"libvlc",
"vlc",
"flac",
"react",
"typescript"
],
"engines": {
"node": ">=22"
},
"scripts": {
"dev": "vite",
"electron:dev": "concurrently -k \"vite\" \"wait-on tcp:5173 && cross-env NODE_ENV=development electron .\"",
"build": "vite build",
"smoke": "node scripts/smoke.mjs 9333",
"probe:video": "node scripts/probe-video.mjs 9333",
"probe:music": "node scripts/probe-music.mjs 9333",
"probe:gesture": "node scripts/probe-gesture.mjs 9333",
"probe:reader": "node scripts/probe-reader.mjs 9333",
"test:gesture": "node --experimental-strip-types scripts/test-gesture-core.mjs",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder"
},
"dependencies": {
"epubjs": "^0.3.93",
"framer-motion": "^13.5.1",
"koffi": "^3.3.4",
"music-metadata": "^12.2.1",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"unzipper": "^0.12.5",
"zustand": "^5.0.0"
},
"devDependencies": {
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^4.3.2",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"electron": "^32.1.2",
"electron-builder": "^25.1.8",
"typescript": "^5.6.2",
"vite": "^5.4.8",
"wait-on": "^8.0.1"
},
"build": {
"appId": "com.noemoe5.magi",
"productName": "MAGI",
"files": [
"dist/**/*",
"electron/**/*",
"package.json"
],
"asarUnpack": [
"node_modules/koffi/**/*"
],
"extraResources": [
{
"from": "vendor/vlc",
"to": "vlc",
"filter": [
"**/*"
]
},
{
"from": "languages",
"to": "languages",
"filter": [
"**/*"
]
}
],
"directories": {
"output": "../magi_out"
},
"win": {
"target": [
"nsis",
"portable"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"shortcutName": "MAGI"
},
"portable": {
"artifactName": "MAGI-portable-${version}.exe"
}
}
}