lx-music-desktop/package.json

314 lines
13 KiB
JSON
Raw Normal View History

2019-08-16 09:27:23 +00:00
{
"name": "lx-music-desktop",
2023-05-19 14:06:48 +00:00
"version": "2.3.0-beta.4",
2021-01-30 05:14:33 +00:00
"description": "一个免费的音乐查找助手",
2022-05-11 07:37:06 +00:00
"main": "./dist/main.js",
2019-08-22 15:02:59 +00:00
"productName": "lx-music-desktop",
2019-08-16 09:27:23 +00:00
"scripts": {
"pack": "node build-config/pack.js && npm run pack:win:setup:x64",
"pack:win": "node build-config/pack.js && npm run pack:win:setup:x64 && npm run pack:win:setup:x86 && npm run pack:win:setup:arm64 && npm run pack:win:setup:x86_64 && npm run pack:win:7z",
2021-04-24 06:34:52 +00:00
"pack:win:setup:x86_64": "cross-env TARGET=Setup ARCH=x86_64 electron-builder -w=nsis --x64 --ia32 -p never",
"pack:win:setup:x64": "cross-env TARGET=Setup ARCH=x64 electron-builder -w=nsis --x64 -p never",
"pack:win:setup:x86": "cross-env TARGET=Setup ARCH=x86 electron-builder -w=nsis --ia32 -p never",
"pack:win:setup:arm64": "cross-env TARGET=Setup ARCH=arm64 electron-builder -w=nsis --arm64 -p never",
2020-01-23 09:50:44 +00:00
"pack:win:portable": "npm run pack:win:portable:x86_64 && npm run pack:win:portable:x64 && npm run pack:win:portable:x86",
2021-04-24 06:34:52 +00:00
"pack:win:portable:x86_64": "cross-env TARGET=portable ARCH=x86_64 electron-builder -w=portable --x64 --ia32 -p never",
"pack:win:portable:x64": "cross-env TARGET=portable ARCH=x64 electron-builder -w=portable --x64 -p never",
"pack:win:portable:x86": "cross-env TARGET=portable ARCH=x86 electron-builder -w=portable --ia32 -p never",
2019-08-22 15:02:59 +00:00
"pack:win:7z": "npm run pack:win:7z:x64 && npm run pack:win:7z:x86",
2021-04-24 06:34:52 +00:00
"pack:win:7z:x64": "cross-env TARGET=green ARCH=win_x64 electron-builder -w=7z --x64 -p never",
"pack:win:7z:x86": "cross-env TARGET=green ARCH=win_x86 electron-builder -w=7z --ia32 -p never",
"pack:win:7z:arm64": "cross-env TARGET=green ARCH=win_arm64 electron-builder -w=7z --arm64 -p never",
2021-03-10 02:19:49 +00:00
"pack:linux": "node build-config/pack.js && npm run pack:linux:deb && npm run pack:linux:appImage && npm run pack:linux:rpm && npm run pack:linux:pacman",
2021-04-24 06:13:13 +00:00
"pack:linux:appImage": "cross-env ARCH=x64 electron-builder -l=AppImage -p never",
2022-10-29 03:36:35 +00:00
"pack:linux:deb": "npm run pack:linux:deb:x64 && npm run pack:linux:deb:arm64 && npm run pack:linux:deb:armv7l",
2021-04-24 06:13:13 +00:00
"pack:linux:deb:x64": "cross-env ARCH=x64 electron-builder -l=deb --x64 -p never",
"pack:linux:deb:arm64": "cross-env ARCH=arm64 electron-builder -l=deb --arm64 -p never",
"pack:linux:deb:armv7l": "cross-env ARCH=armv7l electron-builder -l=deb --armv7l -p never",
"pack:linux:rpm": "cross-env ARCH=x64 electron-builder -l=rpm --x64 -p never",
"pack:linux:pacman": "cross-env ARCH=x64 electron-builder -l=pacman --x64 -p never",
2021-05-19 08:55:02 +00:00
"pack:mac": "node build-config/pack.js && npm run pack:mac:dmg && npm run pack:mac:dmg:arm64",
2021-04-24 06:13:13 +00:00
"pack:mac:dmg": "cross-env electron-builder -m=dmg -p never",
2021-05-19 08:55:02 +00:00
"pack:mac:dmg:arm64": "cross-env electron-builder -m=dmg --arm64 -p never",
2021-03-10 02:19:49 +00:00
"pack:dir": "node build-config/pack.js && electron-builder --dir",
2019-08-16 09:27:23 +00:00
"publish": "node publish",
"publish:win:setup:x64:always": "cross-env TARGET=Setup ARCH=x64 electron-builder -w=nsis --x64 -p always",
"publish:win:setup:x64": "cross-env TARGET=Setup ARCH=x64 electron-builder -w=nsis --x64 -p always",
"publish:win:setup:x86": "cross-env TARGET=Setup ARCH=x86 electron-builder -w=nsis --ia32 -p onTagOrDraft",
"publish:win:setup:arm64": "cross-env TARGET=Setup ARCH=arm64 electron-builder -w=nsis --arm64 -p onTagOrDraft",
"publish:win:setup:x86_64": "cross-env TARGET=Setup ARCH=x86_64 electron-builder -w=nsis --x64 --ia32 -p onTagOrDraft",
2020-01-23 09:50:44 +00:00
"publish:win:portable": "npm run publish:win:portable:x86_64 && npm run publish:win:portable:x64 && npm run publish:win:portable:x86",
"publish:win:portable:x86_64": "cross-env TARGET=portable ARCH=x86_64 electron-builder -w=portable --x64 --ia32 -p onTagOrDraft",
2019-08-22 15:02:59 +00:00
"publish:win:portable:x64": "cross-env TARGET=portable ARCH=x64 electron-builder -w=portable --x64 -p onTagOrDraft",
"publish:win:portable:x86": "cross-env TARGET=portable ARCH=x86 electron-builder -w=portable --ia32 -p onTagOrDraft",
2021-03-10 02:19:49 +00:00
"publish:win:7z:x64": "cross-env TARGET=green ARCH=win_x64 electron-builder -w=7z --x64 -p onTagOrDraft",
2019-08-24 11:00:22 +00:00
"publish:win:7z:x86": "cross-env TARGET=green ARCH=win_x86 electron-builder -w=7z --ia32 -p onTagOrDraft",
"publish:win:7z:arm64": "cross-env TARGET=green ARCH=win_arm64 electron-builder -w=7z --arm64 -p onTagOrDraft",
2022-02-26 05:14:19 +00:00
"publish:mac:dmg:always": "electron-builder -m=dmg -p always",
2019-08-23 11:28:54 +00:00
"publish:mac:dmg": "electron-builder -m=dmg -p onTagOrDraft",
2021-05-19 08:55:02 +00:00
"publish:mac:dmg:arm64": "electron-builder -m=dmg --arm64 -p onTagOrDraft",
2021-03-10 02:19:49 +00:00
"publish:linux:deb:x64:always": "cross-env ARCH=x64 electron-builder -l=deb --x64 -p always",
2019-08-23 11:28:54 +00:00
"publish:linux:deb:x64": "cross-env ARCH=x64 electron-builder -l=deb --x64 -p onTagOrDraft",
2020-12-06 14:54:03 +00:00
"publish:linux:deb:arm64": "cross-env ARCH=arm64 electron-builder -l=deb --arm64 -p onTagOrDraft",
"publish:linux:deb:armv7l": "cross-env ARCH=armv7l electron-builder -l=deb --armv7l -p onTagOrDraft",
2021-03-10 02:19:49 +00:00
"publish:linux:appImage": "cross-env ARCH=x64 electron-builder -l=AppImage -p onTagOrDraft",
2020-06-23 17:20:56 +00:00
"publish:linux:rpm": "cross-env ARCH=x64 electron-builder -l=rpm --x64 -p onTagOrDraft",
"publish:linux:pacman": "cross-env ARCH=x64 electron-builder -l=pacman --x64 -p onTagOrDraft",
2022-10-29 03:36:35 +00:00
"dev": "cross-env NODE_OPTIONS=--max-http-header-size=200000 node build-config/runner-dev.js",
2022-05-11 07:37:06 +00:00
"clean:electron": "rimraf dist",
2019-08-16 09:27:23 +00:00
"clean": "rimraf dist && rimraf build",
2022-10-29 03:36:35 +00:00
"build:theme": "node src/common/theme/createThemes.js",
2021-03-10 02:19:49 +00:00
"build:src": "node build-config/pack.js",
2021-04-03 05:58:10 +00:00
"build:main": "cross-env NODE_ENV=production webpack --config build-config/main/webpack.config.prod.js --progress",
"build:renderer": "cross-env NODE_ENV=production webpack --config build-config/renderer/webpack.config.prod.js --progress",
"build:renderer-lyric": "cross-env NODE_ENV=production webpack --config build-config/renderer-lyric/webpack.config.prod.js --progress",
2022-10-29 03:36:35 +00:00
"build:renderer-scripts": "cross-env NODE_ENV=production webpack --config build-config/renderer-scripts/webpack.config.prod.js --progress",
"build": "npm run clean:electron && npm run build:main && npm run build:renderer && npm run build:renderer-lyric && npm run build:renderer-scripts",
2023-01-06 06:39:44 +00:00
"lint": "eslint --ext .ts,.js,.vue -f node_modules/eslint-formatter-friendly src",
2023-02-01 04:50:52 +00:00
"lint:fix": "eslint --ext .ts,.js,.vue -f node_modules/eslint-formatter-friendly --fix src",
2023-02-05 05:28:43 +00:00
"postinstall": "electron-builder install-app-deps",
2022-11-25 15:37:46 +00:00
"dp": "cross-env ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=http://127.0.0.1:1081 npm run pack",
"up": "cross-env ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=http://127.0.0.1:1081 npm i"
2019-08-16 09:27:23 +00:00
},
"browserslist": [
2023-02-17 15:10:16 +00:00
"Electron 22.3.0"
2019-08-16 09:27:23 +00:00
],
"engines": {
2022-03-25 06:34:12 +00:00
"node": ">= 16",
2022-05-19 09:33:12 +00:00
"npm": ">=8.5.2"
2019-08-16 09:27:23 +00:00
},
"build": {
"appId": "cn.toside.music.desktop",
"beforePack": "./build-config/build-before-pack.js",
2022-10-29 03:36:35 +00:00
"afterPack": "./build-config/build-after-pack.js",
2022-01-07 09:23:48 +00:00
"protocols": {
"name": "lx-music-protocol",
"schemes": [
"lxmusic"
]
},
2019-08-16 09:27:23 +00:00
"directories": {
2021-10-27 08:21:41 +00:00
"buildResources": "./resources",
2019-09-28 02:45:26 +00:00
"output": "./build"
2019-08-16 09:27:23 +00:00
},
"files": [
2022-10-29 03:36:35 +00:00
"!node_modules/**/*",
"node_modules/font-list",
"node_modules/better-sqlite3/lib",
"node_modules/better-sqlite3/package.json",
"node_modules/better-sqlite3/build/Release/better_sqlite3.node",
"node_modules/node-gyp-build",
"node_modules/bufferutil",
"node_modules/utf-8-validate",
2023-02-04 10:38:06 +00:00
"build/Release/qrc_decode.node",
2022-05-11 07:37:06 +00:00
"dist/**/*"
2019-08-16 09:27:23 +00:00
],
2021-08-29 10:27:01 +00:00
"asar": {
"smartUnpack": false
},
2019-08-23 11:28:54 +00:00
"extraResources": [
"./licenses"
],
2019-08-16 09:27:23 +00:00
"win": {
2021-10-27 08:21:41 +00:00
"icon": "./resources/icons/icon.ico",
2019-08-17 06:45:59 +00:00
"legalTrademarks": "lyswhut",
2019-08-22 15:02:59 +00:00
"artifactName": "${productName} v${version} ${env.ARCH} ${env.TARGET}.${ext}"
2019-08-17 06:45:59 +00:00
},
2019-08-23 11:28:54 +00:00
"mac": {
2021-10-27 08:21:41 +00:00
"icon": "./resources/icons/icon.icns",
2022-10-29 03:36:35 +00:00
"category": "public.app-category.music"
2019-08-23 11:28:54 +00:00
},
2019-08-17 06:45:59 +00:00
"linux": {
2020-02-03 15:01:49 +00:00
"maintainer": "lyswhut <lyswhut@qq.com>",
2019-11-17 02:50:10 +00:00
"artifactName": "${productName} v${version} ${env.ARCH}.${ext}",
2019-11-17 04:28:01 +00:00
"icon": "./resources/icons",
"category": "Utility;AudioVideo;Audio;Player;Music;",
"desktop": {
2022-10-29 03:36:35 +00:00
"Name": "LX Music",
"Name[zh_CN]": "LX Music",
"Name[zh_TW]": "LX Music",
"Encoding": "UTF-8",
"MimeType": "x-scheme-handler/lxmusic",
"StartupNotify": "false"
2019-11-17 04:28:01 +00:00
}
2019-08-16 09:27:23 +00:00
},
"nsis": {
"oneClick": false,
"language": "2052",
"allowToChangeInstallationDirectory": true,
"differentialPackage": true,
2019-08-23 11:28:54 +00:00
"license": "./licenses/license.rtf",
2020-09-18 12:02:12 +00:00
"shortcutName": "LX Music"
2019-08-16 09:27:23 +00:00
},
2019-08-23 11:28:54 +00:00
"dmg": {
2020-04-30 16:01:31 +00:00
"window": {
2020-04-30 16:23:35 +00:00
"width": 600,
"height": 400
2020-04-30 16:01:31 +00:00
},
2019-08-23 11:28:54 +00:00
"contents": [
{
2020-04-30 16:01:31 +00:00
"x": 106,
"y": 252,
2020-09-18 12:02:12 +00:00
"name": "LX Music"
2019-08-23 11:28:54 +00:00
},
{
2020-04-30 16:01:31 +00:00
"x": 490,
"y": 252,
2019-08-23 11:28:54 +00:00
"type": "link",
2020-04-30 16:01:31 +00:00
"path": "/Applications"
2019-08-23 11:28:54 +00:00
}
],
"title": "洛雪音乐助手 v${version}"
},
"appImage": {
"license": "./licenses/license_zh.txt",
2020-05-02 12:42:53 +00:00
"category": "Utility;AudioVideo;Audio;Player;Music;"
2019-08-23 11:28:54 +00:00
},
2019-08-16 09:27:23 +00:00
"publish": [
{
"provider": "github",
"owner": "lyswhut",
"repo": "lx-music-desktop"
}
]
},
2022-10-29 03:36:35 +00:00
"macLanguagesInfoPlistStrings": {
"en": {
"CFBundleDisplayName": "LX Music",
"CFBundleName": "LX Music"
},
"zh_CN": {
"CFBundleDisplayName": "LX Music",
"CFBundleName": "LX Music"
},
"zh_TW": {
"CFBundleDisplayName": "LX Music",
"CFBundleName": "LX Music"
}
},
2019-08-16 09:27:23 +00:00
"repository": {
"type": "git",
"url": "git+https://github.com/lyswhut/lx-music-desktop.git"
},
2019-08-22 15:02:59 +00:00
"keywords": [
"music-player",
"electron-app",
2022-10-29 03:36:35 +00:00
"vuejs3"
2019-08-22 15:02:59 +00:00
],
2023-02-18 11:14:01 +00:00
"author": {
"name": "lyswhut",
"email": "lyswhut@qq.com"
},
2019-08-18 13:41:17 +00:00
"license": "Apache-2.0",
2019-08-16 09:27:23 +00:00
"bugs": {
"url": "https://github.com/lyswhut/lx-music-desktop/issues"
},
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
"devDependencies": {
2023-05-03 09:45:43 +00:00
"@babel/core": "^7.21.8",
"@babel/eslint-parser": "^7.21.8",
2022-07-03 14:16:06 +00:00
"@babel/plugin-proposal-class-properties": "^7.18.6",
2020-01-17 13:52:36 +00:00
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
2022-07-03 14:16:06 +00:00
"@babel/plugin-transform-modules-umd": "^7.18.6",
2023-04-09 07:35:00 +00:00
"@babel/plugin-transform-runtime": "^7.21.4",
2023-04-29 07:19:57 +00:00
"@babel/preset-env": "^7.21.5",
"@babel/preset-typescript": "^7.21.5",
2023-05-19 14:01:18 +00:00
"@tsconfig/recommended": "^1.0.2",
2023-04-09 07:35:00 +00:00
"@types/better-sqlite3": "^7.6.4",
2022-12-20 09:34:48 +00:00
"@types/needle": "^3.2.0",
2022-10-29 03:36:35 +00:00
"@types/tunnel": "^0.0.3",
2023-05-23 03:56:54 +00:00
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
2023-05-19 14:01:18 +00:00
"@volar/vue-language-plugin-pug": "^1.6.5",
2023-01-05 11:04:50 +00:00
"babel-loader": "^9.1.2",
2023-01-31 10:35:34 +00:00
"browserslist": "^4.21.5",
2021-08-01 04:46:17 +00:00
"chalk": "^4.1.2",
2022-12-26 06:36:46 +00:00
"changelog-parser": "^3.0.1",
2022-05-19 09:33:12 +00:00
"copy-webpack-plugin": "^11.0.0",
2023-05-08 10:07:26 +00:00
"core-js": "^3.30.2",
2020-12-12 11:35:10 +00:00
"cross-env": "^7.0.3",
2023-05-19 14:01:18 +00:00
"css-loader": "^6.7.4",
2023-03-31 12:12:14 +00:00
"css-minimizer-webpack-plugin": "^5.0.0",
2022-08-04 01:31:39 +00:00
"del": "^6.1.1",
2023-05-19 14:01:18 +00:00
"electron": "^22.3.10",
"electron-builder": "^24.4.0",
2020-12-26 02:20:10 +00:00
"electron-debug": "^3.2.0",
2021-04-22 08:01:47 +00:00
"electron-devtools-installer": "^3.2.0",
2023-05-23 03:56:54 +00:00
"electron-to-chromium": "^1.4.403",
2023-04-27 06:04:01 +00:00
"electron-updater": "^6.1.0",
2023-05-23 03:56:54 +00:00
"eslint": "^8.41.0",
2022-04-26 05:04:19 +00:00
"eslint-config-standard": "^17.0.0",
2023-03-17 06:40:56 +00:00
"eslint-config-standard-with-typescript": "^34.0.1",
2022-10-29 03:36:35 +00:00
"eslint-formatter-friendly": "github:lyswhut/eslint-friendly-formatter#2170d1320e2fad13615a9dcf229669f0bb473a53",
2022-08-04 01:18:53 +00:00
"eslint-plugin-html": "^7.1.0",
2023-01-18 14:14:29 +00:00
"eslint-plugin-import": "^2.27.5",
2023-03-31 12:12:14 +00:00
"eslint-plugin-n": "^15.7.0",
2022-10-29 03:36:35 +00:00
"eslint-plugin-promise": "^6.1.1",
2023-05-23 03:56:54 +00:00
"eslint-plugin-vue": "^9.14.0",
2023-05-19 14:01:18 +00:00
"eslint-plugin-vue-pug": "^0.6.0",
2023-04-13 07:07:47 +00:00
"eslint-webpack-plugin": "^4.0.1",
2023-04-24 05:13:10 +00:00
"html-webpack-plugin": "^5.5.1",
2022-06-12 06:46:34 +00:00
"less": "^4.1.3",
2022-10-29 03:36:35 +00:00
"less-loader": "^11.1.0",
2023-05-19 14:01:18 +00:00
"mini-css-extract-plugin": "^2.7.6",
2021-08-29 10:27:01 +00:00
"node-loader": "^2.0.0",
2023-04-24 05:13:10 +00:00
"postcss": "^8.4.23",
2023-04-29 07:19:57 +00:00
"postcss-loader": "^7.3.0",
2021-04-03 05:58:10 +00:00
"postcss-pxtorem": "^6.0.0",
2021-03-07 04:01:59 +00:00
"pug": "^3.0.2",
2020-12-12 11:35:10 +00:00
"pug-plain-loader": "^1.1.0",
2023-05-19 14:01:18 +00:00
"rimraf": "^5.0.1",
2022-10-29 03:36:35 +00:00
"spinnies": "github:lyswhut/spinnies#233305c58694aa3b053e3ab9af9049993f918b9d",
2021-12-31 03:48:11 +00:00
"svg-sprite-loader": "^6.0.11",
"svg-transform-loader": "^2.0.13",
2023-01-31 10:35:34 +00:00
"svgo-loader": "^4.0.0",
2023-05-23 03:56:54 +00:00
"terser": "^5.17.5",
2023-05-19 14:01:18 +00:00
"terser-webpack-plugin": "^5.3.9",
2022-12-05 10:45:18 +00:00
"ts-loader": "^9.4.2",
2023-04-09 07:35:00 +00:00
"typescript": "^5.0.4",
2023-05-19 14:01:18 +00:00
"vue-eslint-parser": "^9.3.0",
"vue-loader": "^17.1.1",
2022-11-11 05:09:48 +00:00
"vue-template-compiler": "^2.7.14",
2023-05-19 14:01:18 +00:00
"webpack": "^5.83.1",
"webpack-cli": "^5.1.1",
2023-05-08 10:07:26 +00:00
"webpack-dev-server": "^4.15.0",
2022-10-29 03:36:35 +00:00
"webpack-hot-middleware": "github:lyswhut/webpack-hot-middleware#329c4375134b89d39da23a56a94db651247c74a1",
2023-05-23 03:56:54 +00:00
"webpack-merge": "^5.9.0"
2019-08-16 09:27:23 +00:00
},
"dependencies": {
2022-10-29 03:36:35 +00:00
"@simonwep/pickr": "^1.8.2",
2023-05-23 03:56:54 +00:00
"better-sqlite3": "^8.4.0",
2022-10-29 03:36:35 +00:00
"bufferutil": "^4.0.7",
2023-01-31 10:35:34 +00:00
"comlink": "~4.3.1",
2021-08-29 10:27:01 +00:00
"crypto-js": "^4.1.1",
2022-06-25 02:29:55 +00:00
"electron-log": "^4.4.8",
2022-08-04 01:18:53 +00:00
"electron-store": "^8.1.0",
"font-list": "^1.4.5",
2021-05-25 07:40:07 +00:00
"iconv-lite": "^0.6.3",
2022-07-17 04:40:21 +00:00
"image-size": "^1.0.2",
2022-10-29 03:36:35 +00:00
"jschardet": "^3.0.0",
2023-04-24 05:13:10 +00:00
"long": "^5.2.3",
2023-03-31 12:12:14 +00:00
"music-metadata": "^8.1.4",
2022-12-06 10:25:17 +00:00
"needle": "github:lyswhut/needle#93299ac841b7e9a9f82ca7279b88aaaeda404060",
2023-03-01 10:51:17 +00:00
"node-id3": "^0.2.6",
2022-03-25 02:24:47 +00:00
"sortablejs": "^1.15.0",
"tunnel": "^0.0.6",
2023-03-01 10:51:17 +00:00
"utf-8-validate": "^6.0.3",
2023-05-19 14:01:18 +00:00
"vue": "~3.2.47",
"vue-router": "^4.2.1",
2023-03-12 03:31:25 +00:00
"ws": "^8.13.0"
2022-03-25 06:34:12 +00:00
},
"overrides": {
2022-10-29 03:36:35 +00:00
"got": "^11",
2022-12-30 07:21:16 +00:00
"json5": "latest",
2022-11-05 06:37:10 +00:00
"minimatch": "latest",
2022-11-05 07:17:04 +00:00
"svg-sprite-loader": {
2022-11-16 11:19:04 +00:00
"postcss": "latest"
2022-11-05 07:17:04 +00:00
},
2022-11-09 09:44:11 +00:00
"svg-baker": {
"postcss": "latest"
2023-02-04 10:56:47 +00:00
},
"http-cache-semantics": "latest"
2019-08-16 09:27:23 +00:00
}
}