-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
182 lines (182 loc) · 9.33 KB
/
package.json
File metadata and controls
182 lines (182 loc) · 9.33 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"name": "luo-music",
"version": "1.0.0",
"private": true,
"description": "LUO Music Player - A beautiful music player for Netease Cloud Music and QQ Music",
"license": "PolyForm-Noncommercial-1.0.0",
"author": "sansenjian",
"type": "module",
"main": "build/electron/main.cjs",
"scripts": {
"guard:configs": "node scripts/ensure-no-shadow-configs.cjs",
"dev": "npm run dev:server",
"dev:web": "npm run dev:server",
"dev:server": "npm run guard:configs && concurrently \"npm run server\" \"node scripts/run-with-env.cjs APP_RUNTIME=web -- npm run vp -- dev --config .config/vite.config.ts --mode web\"",
"dev:electron": "npm run rebuild:native && npm run guard:configs && concurrently -k \"node scripts/run-with-env.cjs APP_RUNTIME=electron -- npm run vp -- dev --config .config/vite.config.ts\" \"node scripts/dev/dev-electron-launcher.cjs\"",
"dev:electron:debug": "node scripts/run-with-env.cjs ELECTRON_INSPECTOR=9223 -- npm run dev:electron",
"build": "node scripts/build/run-target.cjs build",
"build:web": "node scripts/build/run-target.cjs web",
"build:qq-runtime": "node scripts/build-qq-runtime.cjs",
"build:electron:bundle": "node scripts/build/run-target.cjs electron-bundle",
"build:electron:bundle:no-clean": "node scripts/build/run-target.cjs electron-bundle-no-clean",
"build:electron": "node scripts/build/run-target.cjs electron",
"build:electron:portable": "node scripts/build/run-target.cjs electron-portable",
"build:electron:fast": "npm run make:fast",
"build:server": "npm run tsdown -- server/index.ts --no-config --format cjs --out-dir build/service --clean --target node22 --tsconfig tsconfig.node.json --no-report --no-cjs-default",
"preview": "npm run guard:configs && node scripts/run-with-env.cjs APP_RUNTIME=web -- npm run vp -- preview --config .config/vite.config.ts",
"preview:electron": "npm run rebuild:native && npm run electron-forge -- start",
"server": "tsx server/index.ts",
"electron-forge": "node ./node_modules/@electron-forge/cli/dist/electron-forge.js",
"electron-builder": "node ./node_modules/electron-builder/cli.js",
"electron-vite": "node ./node_modules/electron-vite/bin/electron-vite.js",
"electron-vite:build": "npm run electron-vite -- build --config electron/vite.config.ts",
"tsdown": "node ./node_modules/tsdown/dist/run.mjs",
"vitest": "node ./node_modules/vitest/vitest.mjs",
"vp": "node ./node_modules/vite-plus/bin/vp",
"vp:version": "npm run vp -- --version",
"vp:help": "npm run vp -- help",
"vp:lint": "npm run vp -- lint --no-error-on-unmatched-pattern .",
"vp:lint:fix": "npm run vp -- lint --fix --no-error-on-unmatched-pattern .",
"vp:fmt": "npm run vp -- fmt --write --no-error-on-unmatched-pattern \"src/**/*.{ts,vue,js}\" \"electron/**/*.ts\" \"server/**/*.ts\" \"tests/**/*.ts\" \"vite.config.ts\" \".config/**/*.ts\" \"config/**/*.ts\"",
"vp:fmt:check": "npm run vp -- fmt --check --no-error-on-unmatched-pattern \"src/**/*.{ts,vue,js}\" \"electron/**/*.ts\" \"server/**/*.ts\" \"tests/**/*.ts\" \"vite.config.ts\" \".config/**/*.ts\" \"config/**/*.ts\"",
"vp:check": "npm run vp -- check --no-error-on-unmatched-pattern \"src/**/*.{ts,vue,js}\" \"electron/**/*.ts\" \"server/**/*.ts\" \"tests/**/*.ts\" \"vite.config.ts\" \".config/**/*.ts\" \"config/**/*.ts\"",
"vp:check:fix": "npm run vp -- check --fix --no-error-on-unmatched-pattern \"src/**/*.{ts,vue,js}\" \"electron/**/*.ts\" \"server/**/*.ts\" \"tests/**/*.ts\" \"vite.config.ts\" \".config/**/*.ts\" \"config/**/*.ts\"",
"quality": "npm run typecheck && npm run lint && npm run format:check",
"quality:full": "npm run quality && npm run test:ci && npm run build:web",
"package": "node scripts/build/run-target.cjs package",
"package:fast": "npm run package",
"make": "node scripts/build/run-target.cjs make",
"make:portable": "npm run build:electron:portable",
"make:fast": "node scripts/build/run-target.cjs make-fast",
"test": "npm run vitest -- -c .config/vitest.config.ts",
"test:run": "npm run vitest -- run -c .config/vitest.config.ts",
"test:watch": "npm run vitest -- -c .config/vitest.config.ts",
"test:changed": "npm run vitest -- related --run -c .config/vitest.config.ts",
"test:native": "node scripts/run-with-env.cjs LUO_TEST_INCLUDE_NATIVE=1 LUO_TEST_NATIVE_ONLY=1 -- node scripts/run-vitest-with-native-restore.cjs run -c .config/vitest.config.ts",
"test:ci": "npm run test:run && npm run test:native",
"test:coverage": "npm run vitest -- run -c .config/vitest.config.ts --coverage",
"test:e2e": "playwright test --config .config/playwright.config.ts",
"test:e2e:headed": "playwright test --config .config/playwright.config.ts --headed",
"test:e2e:debug": "playwright test --config .config/playwright.config.ts --debug",
"test:e2e:report": "playwright show-report",
"typecheck": "vue-tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.node.json",
"lint": "npm run check:architecture && npm run vp:lint",
"lint:fix": "npm run vp:lint:fix",
"check:architecture": "node scripts/check-architecture-boundaries.cjs",
"lint:eslint": "eslint . --cache",
"lint:eslint:fix": "eslint . --fix --cache",
"format": "npm run vp:fmt",
"format:check": "npm run vp:fmt:check",
"format:oxfmt": "npm run vp:fmt",
"format:oxfmt:check": "npm run vp:fmt:check",
"clean": "node scripts/build/clean.cjs",
"clean:all": "node scripts/build/clean.cjs --all",
"analyze": "vite-bundle-visualizer -c .config/vite.config.ts",
"analyze:web": "npm run guard:configs && node scripts/run-with-env.cjs APP_RUNTIME=web -- vite-bundle-visualizer -c config/vite.analyze.web.js -m production -o .vite_cache/reports/web-bundle.html --open false",
"analyze:electron-renderer": "npm run guard:configs && vite-bundle-visualizer -c config/vite.analyze.electron-renderer.js -m production -o .vite_cache/reports/electron-renderer-bundle.html --open false",
"analyze:deps": "node scripts/utils/analyze-deps.js",
"analyze:graph": "node scripts/utils/dependency-graph.js --write docs/dependency-graph.md",
"check:deps": "ncu --registry https://registry.npmjs.org",
"check:unused": "depcheck --ignores=\"@shared/*,@plugin-sdk/*,electron-builder,oxfmt,oxlint\"",
"audit": "npm audit --registry=https://registry.npmjs.org",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"rebuild:native": "node scripts/rebuild-native-electron.cjs",
"rebuild:native:force": "node scripts/rebuild-native-electron.cjs --force",
"rebuild:native:node": "npm rebuild better-sqlite3",
"postinstall": "node scripts/patch-cross-zip.cjs",
"prepare": "husky",
"lint:staged": "npm run vp -- staged"
},
"dependencies": {
"@neteasecloudmusicapienhanced/api": "4.32.0",
"@sansenjian/qq-music-api": "^2.2.10",
"@sentry/electron": "^7.13.0",
"@tanstack/vue-query": "^5.100.10",
"@vercel/analytics": "^1.6.1",
"@vueuse/core": "^14.3.0",
"animejs": "^4.4.1",
"async-mutex": "^0.5.0",
"axios": "^1.16.0",
"better-sqlite3": "^12.9.0",
"chokidar": "^5.0.0",
"dotenv": "^16.6.1",
"electron-log": "^5.4.3",
"electron-store": "^11.0.2",
"koa": "^2.16.4",
"kysely": "^0.29.0",
"lru-cache": "^11.3.6",
"music-metadata": "^11.12.3",
"p-limit": "^7.3.0",
"pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1",
"vue": "^3.5.34",
"vue-router": "^4.6.4",
"web-vitals": "^5.2.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@electron-forge/cli": "^7.11.1",
"@electron-forge/maker-squirrel": "^7.11.1",
"@electron-forge/maker-zip": "^7.11.1",
"@electron-forge/plugin-auto-unpack-natives": "^7.11.1",
"@electron-forge/plugin-fuses": "^7.11.1",
"@electron-forge/shared-types": "^7.11.1",
"@electron/fuses": "^1.8.0",
"@electron/rebuild": "^4.0.4",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.59.1",
"@sentry/browser": "^10.52.0",
"@sentry/vite-plugin": "^5.2.1",
"@types/animejs": "^3.1.13",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^25.6.2",
"@vitejs/plugin-vue": "^6.0.6",
"@vitest/coverage-v8": "4.1.6",
"@vue/test-utils": "^2.4.10",
"concurrently": "^9.2.1",
"depcheck": "^1.4.7",
"electron": "41.5.1",
"electron-builder": "^26.8.1",
"electron-vite": "^6.0.0-beta.1",
"esbuild": "^0.28.0",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-vue": "^10.9.1",
"husky": "^9.1.7",
"jsdom": "^28.1.0",
"npm-check-updates": "^19.6.6",
"oxfmt": "^0.48.0",
"oxlint": "^1.63.0",
"tsdown": "^0.22.0",
"tsx": "^4.21.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.2",
"unplugin-auto-import": "^21.0.0",
"unplugin-vue-components": "^31.1.0",
"vite": "^8.0.12",
"vite-bundle-visualizer": "^1.2.1",
"vite-plus": "0.1.20",
"vitepress": "2.0.0-alpha.17",
"vitest": "4.1.6",
"vue-eslint-parser": "^10.4.0",
"vue-tsc": "^3.2.8"
},
"overrides": {
"axios": "^1.16.0",
"@rolldown/binding-wasm32-wasi": {
"@emnapi/runtime": "1.8.1"
},
"rollup-plugin-visualizer": {
"rolldown": "npm:rolldown@1.0.0-rc.2"
}
},
"config": {
"forge": "./electron/forge.config.ts"
},
"engines": {
"node": ">=22.x"
},
"packageManager": "npm@10.9.8"
}