-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.92 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.92 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
{
"name": "omus",
"version": "1.4.9",
"description": "the best offline music player with tons of features.",
"main": "./out/main/index.js",
"author": "bubu07",
"homepage": "https://electron-vite.org",
"scripts": {
"format": "prettier --write .",
"lint": "eslint --cache .",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck": "npm run typecheck:node && npm run typecheck:web",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "vitest run",
"test:e2e": "npm run build && playwright test",
"start": "electron-vite preview",
"dev": "electron-vite dev",
"build": "npm run typecheck && electron-vite build",
"postinstall": "electron-builder install-app-deps",
"build:unpack": "npm run build && electron-builder --dir",
"build:win": "npm run build && electron-builder --win",
"publish:win": "npm run build && electron-builder --win --publish always",
"build:mac": "electron-vite build && electron-builder --mac",
"build:linux": "electron-vite build && electron-builder --linux"
},
"dependencies": {
"@electron-toolkit/preload": "^3.0.2",
"@electron-toolkit/utils": "^4.0.0",
"better-sqlite3": "^13.0.3",
"chokidar": "^5.0.0",
"clsx": "^2.1.1",
"discord-rpc": "^4.0.1",
"electron-updater": "^6.8.9",
"lucide-react": "^1.38.0",
"music-metadata": "^7.14.0",
"tailwind-merge": "^3.6.0"
},
"devDependencies": {
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
"@electron-toolkit/eslint-config-ts": "^3.1.0",
"@electron-toolkit/tsconfig": "^2.0.0",
"@electron/rebuild": "^4.2.0",
"@playwright/test": "^1.63.0",
"@tailwindcss/postcss": "^4.3.3",
"@types/better-sqlite3": "^9.6.0",
"@types/node": "^22.19.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"autoprefixer": "^10.5.4",
"electron": "^39.2.6",
"electron-builder": "^26.15.3",
"electron-vite": "^5.0.0",
"eslint": "^9.39.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"postcss": "^8.5.26",
"prettier": "^3.7.4",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"tailwindcss": "^4.3.3",
"typescript": "^5.9.3",
"vite": "^7.2.6",
"vitest": "^5.0.0"
},
"build": {
"appId": "com.omus.app",
"productName": "omus",
"publish": null,
"asarUnpack": [
"resources/**",
"**/*.node"
],
"win": {
"target": [
"nsis"
]
},
"nsis": {
"artifactName": "install-omus.${ext}",
"differentialPackage": true
},
"linux": {
"target": [
"AppImage",
"deb",
"snap"
],
"category": "AudioVideo",
"artifactName": "${productName}-${version}.${ext}"
}
}
}