223 lines
11 KiB
JSON
223 lines
11 KiB
JSON
{
|
|
"name": "lx-music-desktop",
|
|
"version": "2.10.0",
|
|
"description": "一个免费的音乐查找助手",
|
|
"main": "./dist/main.js",
|
|
"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",
|
|
"pack:win:setup:x86_64": "node build-config/build-pack.js target=win arch=x86_64 type=setup",
|
|
"pack:win:setup:x64": "node build-config/build-pack.js target=win arch=x64 type=setup",
|
|
"pack:win:setup:x86": "node build-config/build-pack.js target=win arch=x86 type=setup",
|
|
"pack:win:setup:arm64": "node build-config/build-pack.js target=win arch=arm64 type=setup",
|
|
"pack:win:portable": "npm run pack:win:portable:x86_64 && npm run pack:win:portable:x64 && npm run pack:win:portable:x86",
|
|
"pack:win:portable:x86_64": "node build-config/build-pack.js target=win arch=x86_64 type=portable",
|
|
"pack:win:portable:x64": "node build-config/build-pack.js target=win arch=x64 type=portable",
|
|
"pack:win:portable:x86": "node build-config/build-pack.js target=win arch=x86 type=portable",
|
|
"pack:win:7z": "npm run pack:win:7z:x64",
|
|
"pack:win:7z:x64": "node build-config/build-pack.js target=win arch=x64 type=green",
|
|
"pack:win:7z:arm64": "node build-config/build-pack.js target=win arch=arm64 type=green",
|
|
"pack:win7:setup:x64": "node build-config/build-pack.js target=win arch=x64 type=win7_setup",
|
|
"pack:win7:7z:x64": "node build-config/build-pack.js target=win arch=x64 type=win7_green",
|
|
"pack:win7:7z:x86": "node build-config/build-pack.js target=win arch=x86 type=win7_green",
|
|
"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",
|
|
"pack:linux:appImage": "node build-config/build-pack.js target=linux arch=x64 type=appImage",
|
|
"pack:linux:deb": "npm run pack:linux:deb:amd64 && npm run pack:linux:deb:arm64 && npm run pack:linux:deb:armv7l",
|
|
"pack:linux:deb:amd64": "node build-config/build-pack.js target=linux arch=x64 type=deb",
|
|
"pack:linux:deb:arm64": "node build-config/build-pack.js target=linux arch=arm64 type=deb",
|
|
"pack:linux:deb:armv7l": "node build-config/build-pack.js target=linux arch=armv7l type=deb",
|
|
"pack:linux:rpm": "node build-config/build-pack.js target=linux arch=x64 type=rpm",
|
|
"pack:linux:pacman": "node build-config/build-pack.js target=linux arch=x64 type=pacman",
|
|
"pack:mac": "node build-config/pack.js && npm run pack:mac:dmg && npm run pack:mac:dmg:arm64",
|
|
"pack:mac:dmg": "node build-config/build-pack.js target=mac arch=x64 type=dmg",
|
|
"pack:mac:dmg:arm64": "node build-config/build-pack.js target=mac arch=arm64 type=dmg",
|
|
"pack:dir": "node build-config/pack.js && node build-config/build-pack.js target=dir",
|
|
"publish": "node publish",
|
|
"publish:win:setup:x64": "node build-config/build-pack.js target=win arch=x64 type=setup publish=always",
|
|
"publish:win:setup:x86": "node build-config/build-pack.js target=win arch=x86 type=setup publish=always",
|
|
"publish:win:setup:arm64": "node build-config/build-pack.js target=win arch=arm64 type=setup publish=always",
|
|
"publish:win:setup:x86_64": "node build-config/build-pack.js target=win arch=x86_64 type=setup publish=always",
|
|
"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": "node build-config/build-pack.js target=win arch=x86_64 type=portable publish=always",
|
|
"publish:win:portable:x64": "node build-config/build-pack.js target=win arch=x64 type=portable publish=always",
|
|
"publish:win:portable:x86": "node build-config/build-pack.js target=win arch=x86 type=portable publish=always",
|
|
"publish:win:7z:x64": "node build-config/build-pack.js target=win arch=x64 type=green publish=always",
|
|
"publish:win:7z:arm64": "node build-config/build-pack.js target=win arch=arm64 type=green publish=always",
|
|
"publish:win7:setup:x64": "node build-config/build-pack.js target=win arch=x64 type=win7_setup publish=always",
|
|
"publish:win7:7z:x64": "node build-config/build-pack.js target=win arch=x64 type=win7_green publish=always",
|
|
"publish:win7:7z:x86": "node build-config/build-pack.js target=win arch=x86 type=win7_green publish=always",
|
|
"publish:mac:dmg": "node build-config/build-pack.js target=mac arch=x64 type=dmg publish=always",
|
|
"publish:mac:dmg:arm64": "node build-config/build-pack.js target=mac arch=arm64 type=dmg publish=always",
|
|
"publish:linux:deb:amd64": "node build-config/build-pack.js target=linux arch=x64 type=deb publish=always",
|
|
"publish:linux:deb:arm64": "node build-config/build-pack.js target=linux arch=arm64 type=deb publish=always",
|
|
"publish:linux:deb:armv7l": "node build-config/build-pack.js target=linux arch=armv7l type=deb publish=always",
|
|
"publish:linux:appImage": "node build-config/build-pack.js target=linux arch=x64 type=appImage publish=always",
|
|
"publish:linux:rpm": "node build-config/build-pack.js target=linux arch=x64 type=rpm publish=always",
|
|
"publish:linux:pacman": "node build-config/build-pack.js target=linux arch=x64 type=pacman publish=always",
|
|
"dev": "cross-env NODE_OPTIONS=--max-http-header-size=200000 node build-config/runner-dev.js",
|
|
"build:theme": "node src/common/theme/createThemes.js",
|
|
"build": "node build-config/pack.js",
|
|
"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",
|
|
"build:renderer-scripts": "cross-env NODE_ENV=production webpack --config build-config/renderer-scripts/webpack.config.prod.js --progress",
|
|
"lint": "eslint --ext .ts,.js,.vue -f node_modules/eslint-formatter-friendly src",
|
|
"lint:fix": "eslint --ext .ts,.js,.vue -f node_modules/eslint-formatter-friendly --fix src",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"dp": "cross-env ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=http://127.0.0.1:2081 npm run pack",
|
|
"up": "cross-env ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=http://127.0.0.1:2081 npm i"
|
|
},
|
|
"browserslist": [
|
|
"Electron 22.3.0"
|
|
],
|
|
"engines": {
|
|
"node": ">= 18",
|
|
"npm": ">=8.5.2"
|
|
},
|
|
"macLanguagesInfoPlistStrings": {
|
|
"en": {
|
|
"CFBundleDisplayName": "LX Music",
|
|
"CFBundleName": "LX Music"
|
|
},
|
|
"zh_CN": {
|
|
"CFBundleDisplayName": "LX Music",
|
|
"CFBundleName": "LX Music"
|
|
},
|
|
"zh_TW": {
|
|
"CFBundleDisplayName": "LX Music",
|
|
"CFBundleName": "LX Music"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/lyswhut/lx-music-desktop.git"
|
|
},
|
|
"keywords": [
|
|
"music-player",
|
|
"electron-app",
|
|
"vuejs3"
|
|
],
|
|
"author": {
|
|
"name": "lyswhut",
|
|
"email": "lyswhut@qq.com"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/lyswhut/lx-music-desktop/issues"
|
|
},
|
|
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.7",
|
|
"@babel/eslint-parser": "^7.26.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-transform-modules-umd": "^7.25.9",
|
|
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
"@babel/preset-env": "^7.26.7",
|
|
"@babel/preset-typescript": "^7.26.0",
|
|
"@tsconfig/recommended": "^1.0.8",
|
|
"@types/better-sqlite3": "^7.6.12",
|
|
"@types/needle": "^3.3.0",
|
|
"@types/node": "^20.17.16",
|
|
"@types/tunnel": "^0.0.7",
|
|
"@types/ws": "8.5.4",
|
|
"@volar/vue-language-plugin-pug": "^1.6.5",
|
|
"@vue/language-plugin-pug": "^2.2.0",
|
|
"babel-loader": "^9.2.1",
|
|
"browserslist": "^4.24.4",
|
|
"chalk": "^4.1.2",
|
|
"changelog-parser": "^3.0.1",
|
|
"copy-webpack-plugin": "^12.0.2",
|
|
"core-js": "^3.40.0",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^7.1.2",
|
|
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
"del": "^6.1.1",
|
|
"electron": "^32.3.0",
|
|
"electron-builder": "^26.0.0-alpha.11",
|
|
"electron-debug": "^3.2.0",
|
|
"electron-devtools-installer": "github:lyswhut/electron-devtools-installer#64596d615c1fc891eefd8aef1dfcb2c87aaadf03",
|
|
"electron-to-chromium": "^1.5.88",
|
|
"electron-updater": "^6.4.0-alpha.4",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-config-standard-with-typescript": "^43.0.1",
|
|
"eslint-formatter-friendly": "github:lyswhut/eslint-friendly-formatter#2170d1320e2fad13615a9dcf229669f0bb473a53",
|
|
"eslint-plugin-html": "^8.1.2",
|
|
"eslint-plugin-vue": "^9.32.0",
|
|
"eslint-plugin-vue-pug": "^0.6.2",
|
|
"eslint-webpack-plugin": "^4.2.0",
|
|
"html-webpack-plugin": "^5.6.3",
|
|
"less": "^4.2.2",
|
|
"less-loader": "^12.2.0",
|
|
"mini-css-extract-plugin": "^2.9.2",
|
|
"node-loader": "^2.1.0",
|
|
"postcss": "^8.5.1",
|
|
"postcss-loader": "^8.1.1",
|
|
"postcss-pxtorem": "^6.1.0",
|
|
"pug": "^3.0.3",
|
|
"pug-plain-loader": "^1.1.0",
|
|
"rimraf": "^6.0.1",
|
|
"spinnies": "github:lyswhut/spinnies#233305c58694aa3b053e3ab9af9049993f918b9d",
|
|
"svg-sprite-loader": "^6.0.11",
|
|
"svg-transform-loader": "^2.0.13",
|
|
"svgo-loader": "^4.0.0",
|
|
"terser": "^5.37.0",
|
|
"terser-webpack-plugin": "^5.3.11",
|
|
"tree-kill": "^1.2.2",
|
|
"ts-loader": "^9.5.2",
|
|
"typescript": "5.7.3",
|
|
"vue-eslint-parser": "^9.4.3",
|
|
"vue-loader": "^17.4.2",
|
|
"vue-template-compiler": "^2.7.16",
|
|
"webpack": "^5.97.1",
|
|
"webpack-cli": "^6.0.1",
|
|
"webpack-dev-server": "5.2.0",
|
|
"webpack-hot-middleware": "github:lyswhut/webpack-hot-middleware#329c4375134b89d39da23a56a94db651247c74a1",
|
|
"webpack-merge": "^6.0.1"
|
|
},
|
|
"dependencies": {
|
|
"@simonwep/pickr": "^1.9.1",
|
|
"better-sqlite3": "^11.8.1",
|
|
"bufferutil": "^4.0.9",
|
|
"comlink": "~4.3.1",
|
|
"crypto-js": "^4.2.0",
|
|
"electron-log": "^5.2.4",
|
|
"font-list": "^1.5.1",
|
|
"iconv-lite": "^0.6.3",
|
|
"image-size": "^1.1.0",
|
|
"jschardet": "^3.1.4",
|
|
"long": "^5.2.4",
|
|
"message2call": "^0.1.3",
|
|
"music-metadata": "^10.7.1",
|
|
"needle": "github:lyswhut/needle#93299ac841b7e9a9f82ca7279b88aaaeda404060",
|
|
"node-id3": "^0.2.6",
|
|
"sortablejs": "^1.15.6",
|
|
"tunnel": "^0.0.6",
|
|
"utf-8-validate": "^6.0.5",
|
|
"vue": "~3.3.13",
|
|
"vue-router": "^4.5.0",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"overrides": {
|
|
"got": "^11",
|
|
"json5": "latest",
|
|
"node-abi": "latest",
|
|
"minimatch": "latest",
|
|
"semver": "latest",
|
|
"svg-transform-loader": {
|
|
"postcss": "latest"
|
|
},
|
|
"svg-sprite-loader": {
|
|
"postcss": "latest"
|
|
},
|
|
"svg-baker": {
|
|
"postcss": "latest"
|
|
},
|
|
"braces": "latest",
|
|
"node-gyp-build": "latest",
|
|
"micromatch": "latest",
|
|
"http-cache-semantics": "latest"
|
|
}
|
|
}
|