lx-music-desktop/package.json

256 lines
11 KiB
JSON
Raw Normal View History

2019-08-16 09:27:23 +00:00
{
"name": "lx-music-desktop",
2021-10-15 11:56:01 +00:00
"version": "1.15.0-beta",
2021-01-30 05:14:33 +00:00
"description": "一个免费的音乐查找助手",
2019-08-16 09:27:23 +00:00
"main": "./dist/electron/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",
2021-03-10 02:19:49 +00:00
"pack:linux:deb": "npm run pack:linux:deb:x64 && npm run pack:linux:deb:x86 && 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:x86": "cross-env ARCH=x86 electron-builder -l=deb --ia32 -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",
2021-03-10 02:19:49 +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",
"publish:linux:deb:x86": "cross-env ARCH=x86 electron-builder -l=deb --ia32 -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",
2019-08-16 09:27:23 +00:00
"dev": "node build-config/runner-dev.js",
"clean:electron": "rimraf dist/electron",
"clean": "rimraf dist && rimraf build",
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",
2020-06-11 13:16:59 +00:00
"build": "npm run clean:electron && npm run build:main && npm run build:renderer && npm run build:renderer-lyric",
2019-08-16 09:27:23 +00:00
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-formatter-friendly src",
2021-03-07 04:36:57 +00:00
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-formatter-friendly --fix src",
2021-05-19 10:15:41 +00:00
"dp": "cross-env ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=http://localhost:1081 npm run pack",
2021-05-25 07:40:07 +00:00
"up": "cross-env ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=http://localhost:1081 npm i"
2019-08-16 09:27:23 +00:00
},
"browserslist": [
2021-10-15 11:54:48 +00:00
"Electron 15.2.0"
2019-08-16 09:27:23 +00:00
],
"engines": {
2021-05-25 07:40:07 +00:00
"node": ">= 14"
2019-08-16 09:27:23 +00:00
},
"build": {
"appId": "cn.toside.music.desktop",
"directories": {
2019-09-28 02:45:26 +00:00
"output": "./build"
2019-08-16 09:27:23 +00:00
},
"files": [
"dist/electron/**/*"
],
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": {
2019-08-23 11:28:54 +00:00
"icon": "./resources/icons/256x256.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": {
2019-11-17 02:50:10 +00:00
"icon": "./resources/icons/512x512.icns",
2019-08-23 11:28:54 +00:00
"category": "public.app-category.music"
},
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": {
"Name[zh_CN]": "洛雪音乐助手"
}
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"
}
]
},
"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",
"vuejs2"
],
"author": {
"name": "lyswhut",
2020-02-03 15:01:49 +00:00
"email": "lyswhut@qq.com"
2019-08-22 15:02:59 +00:00
},
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": {
2021-10-15 11:54:48 +00:00
"@babel/core": "^7.15.8",
2021-06-10 10:10:52 +00:00
"@babel/plugin-proposal-class-properties": "^7.14.5",
2020-01-17 13:52:36 +00:00
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
2021-06-10 10:10:52 +00:00
"@babel/plugin-transform-modules-umd": "^7.14.5",
2021-10-15 11:54:48 +00:00
"@babel/plugin-transform-runtime": "^7.15.8",
2020-10-17 08:09:29 +00:00
"@babel/polyfill": "^7.12.1",
2021-10-15 11:54:48 +00:00
"@babel/preset-env": "^7.15.8",
"babel-eslint": "^10.1.0",
2020-12-12 11:35:10 +00:00
"babel-loader": "^8.2.2",
"babel-preset-minify": "^0.5.1",
2021-10-15 11:54:48 +00:00
"browserslist": "^4.17.4",
2021-09-30 00:52:14 +00:00
"cfonts": "^2.10.0",
2021-08-01 04:46:17 +00:00
"chalk": "^4.1.2",
"changelog-parser": "^2.8.0",
2021-06-30 03:44:51 +00:00
"copy-webpack-plugin": "^9.0.1",
2021-10-15 11:54:48 +00:00
"core-js": "^3.18.3",
2020-12-12 11:35:10 +00:00
"cross-env": "^7.0.3",
2021-10-15 11:54:48 +00:00
"css-loader": "^6.4.0",
"css-minimizer-webpack-plugin": "^3.1.1",
2020-09-28 01:56:48 +00:00
"del": "^6.0.0",
2021-10-15 11:54:48 +00:00
"electron": "^15.2.0",
"electron-builder": "^22.13.1",
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",
2021-10-15 11:54:48 +00:00
"electron-to-chromium": "^1.3.870",
2021-08-01 04:46:17 +00:00
"eslint": "^7.32.0",
2021-08-11 02:00:04 +00:00
"eslint-config-standard": "^16.0.3",
2019-08-16 09:27:23 +00:00
"eslint-formatter-friendly": "^7.0.0",
2021-09-30 00:52:14 +00:00
"eslint-plugin-html": "^6.2.0",
2021-10-15 11:54:48 +00:00
"eslint-plugin-import": "^2.25.2",
2020-03-31 07:49:44 +00:00
"eslint-plugin-node": "^11.1.0",
2021-04-10 12:43:20 +00:00
"eslint-plugin-promise": "^5.1.0",
2020-11-14 02:22:47 +00:00
"eslint-plugin-standard": "^4.1.0",
2021-10-15 11:54:48 +00:00
"eslint-webpack-plugin": "^3.0.1",
2020-10-29 01:08:39 +00:00
"file-loader": "^6.2.0",
2019-08-16 09:27:23 +00:00
"friendly-errors-webpack-plugin": "^1.7.0",
2021-10-15 11:54:48 +00:00
"html-webpack-plugin": "^5.4.0",
"less": "^4.1.2",
"less-loader": "^10.1.0",
2021-04-14 05:33:36 +00:00
"less-plugin-clean-css": "^1.5.1",
2021-08-05 02:39:59 +00:00
"markdown-it": "^12.2.0",
2021-10-15 11:54:48 +00:00
"mini-css-extract-plugin": "^2.4.2",
2021-08-29 10:27:01 +00:00
"node-loader": "^2.0.0",
2021-10-15 11:54:48 +00:00
"postcss": "^8.3.9",
"postcss-loader": "^6.2.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",
2019-08-16 09:27:23 +00:00
"pug-loader": "^2.4.0",
2020-12-12 11:35:10 +00:00
"pug-plain-loader": "^1.1.0",
2020-10-17 08:09:29 +00:00
"raw-loader": "^4.0.2",
2020-02-10 09:25:58 +00:00
"rimraf": "^3.0.2",
"spinnies": "^0.5.1",
2021-09-15 09:08:38 +00:00
"terser-webpack-plugin": "^5.2.4",
2020-10-17 08:09:29 +00:00
"url-loader": "^4.1.1",
2021-08-05 02:39:59 +00:00
"vue-loader": "^15.9.8",
2021-06-10 10:10:52 +00:00
"vue-template-compiler": "^2.6.14",
2021-10-15 11:54:48 +00:00
"webpack": "^5.58.2",
"webpack-cli": "^4.9.0",
2021-01-21 08:26:46 +00:00
"webpack-dev-server": "^3.11.2",
2021-09-15 09:08:38 +00:00
"webpack-hot-middleware": "^2.25.1",
2021-06-10 10:10:52 +00:00
"webpack-merge": "^5.8.0"
2019-08-16 09:27:23 +00:00
},
"dependencies": {
2021-10-15 11:54:48 +00:00
"bufferutil": "^4.0.5",
2021-08-29 10:27:01 +00:00
"crypto-js": "^4.1.1",
"electron-log": "^4.4.1",
2021-09-30 00:52:14 +00:00
"electron-store": "^8.0.1",
2021-05-16 06:12:11 +00:00
"electron-updater": "^4.3.9",
2021-10-15 12:08:46 +00:00
"font-list": "git+https://github.com/lyswhut/node-font-list.git#2ed3b4ee42e8a43373e8a30d87760c840725843e",
2021-09-30 00:52:14 +00:00
"http-terminator": "^3.0.3",
2021-05-25 07:40:07 +00:00
"iconv-lite": "^0.6.3",
2021-04-15 01:21:35 +00:00
"image-size": "^1.0.0",
2021-09-30 00:52:14 +00:00
"koa": "^2.13.3",
2021-08-01 04:13:19 +00:00
"long": "^4.0.0",
2021-10-15 11:54:48 +00:00
"lrc-file-parser": "^1.2.2",
2021-08-28 05:25:34 +00:00
"needle": "^3.0.0",
2021-04-30 13:22:50 +00:00
"node-id3": "^0.2.3",
2020-02-15 10:08:49 +00:00
"request": "^2.88.2",
2021-10-15 11:54:48 +00:00
"socket.io": "^4.3.0",
"utf-8-validate": "^5.0.7",
2021-06-10 10:10:52 +00:00
"vue": "^2.6.14",
2021-10-01 14:18:50 +00:00
"vue-i18n": "^8.26.5",
2021-06-27 06:47:19 +00:00
"vue-router": "^3.5.2",
2021-01-30 05:15:32 +00:00
"vuex": "^3.6.2",
2019-08-16 09:27:23 +00:00
"vuex-router-sync": "^5.0.0"
}
}