2019-08-16 09:27:23 +00:00
|
|
|
{
|
|
|
|
"name": "lx-music-desktop",
|
2020-03-15 12:10:58 +00:00
|
|
|
"version": "0.17.0",
|
2019-08-16 09:27:23 +00:00
|
|
|
"description": "一个免费的音乐下载助手",
|
|
|
|
"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": {
|
2019-08-22 15:26:17 +00:00
|
|
|
"pack": "node build-config/pack.js && npm run pack:win",
|
2020-02-11 08:45:14 +00:00
|
|
|
"pack:win": "npm run pack:win:setup:x86_64 && npm run pack:win:7z",
|
|
|
|
"pack:win:setup:x86_64": "cross-env TARGET=win_安装版 ARCH=x86_64 electron-builder -w=nsis --x64 --ia32",
|
2020-02-11 09:08:25 +00:00
|
|
|
"pack:win:setup:x64": "cross-env TARGET=win_安装版 ARCH=x64 electron-builder -w=nsis --x64",
|
|
|
|
"pack:win:setup:x86": "cross-env TARGET=win_安装版 ARCH=x86 electron-builder -w=nsis --ia32",
|
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",
|
|
|
|
"pack:win:portable:x86_64": "cross-env TARGET=便携版 ARCH=x86_64 electron-builder -w=portable --x64 --ia32",
|
2019-08-22 15:02:59 +00:00
|
|
|
"pack:win:portable:x64": "cross-env TARGET=便携版 ARCH=x64 electron-builder -w=portable --x64",
|
|
|
|
"pack:win:portable:x86": "cross-env TARGET=便携版 ARCH=x86 electron-builder -w=portable --ia32",
|
|
|
|
"pack:win:7z": "npm run pack:win:7z:x64 && npm run pack:win:7z:x86",
|
2019-09-04 17:41:36 +00:00
|
|
|
"pack:win:7z:x64": "cross-env TARGET=win_绿色版 ARCH=x64 electron-builder -w=7z --x64",
|
|
|
|
"pack:win:7z:x86": "cross-env TARGET=win_绿色版 ARCH=x86 electron-builder -w=7z --ia32",
|
2019-08-16 09:27:23 +00:00
|
|
|
"publish": "node publish",
|
2019-08-22 15:02:59 +00:00
|
|
|
"publish:gh": "node build-config/pack.js && npm run publish:win",
|
2019-09-03 16:41:54 +00:00
|
|
|
"publish:win": "npm run publish:win:7z && npm run publish:win:setup",
|
2020-01-23 09:50:44 +00:00
|
|
|
"publish:win:setup": "cross-env TARGET=Setup ARCH=x86_64 electron-builder -w=nsis --x64 --ia32 -p onTagOrDraft",
|
|
|
|
"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",
|
|
|
|
"publish:win:7z": "npm run publish:win:7z:x64 && npm run publish:win:7z:x86",
|
2019-09-04 17:54:47 +00:00
|
|
|
"publish:win:7z:x64": "cross-env TARGET=green ARCH=win_x64 electron-builder -w=7z --x64 -p always",
|
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",
|
2019-08-23 11:28:54 +00:00
|
|
|
"publish:gh:mac": "node build-config/pack.js && npm run publish:mac",
|
|
|
|
"publish:mac": "npm run publish:mac:dmg",
|
|
|
|
"publish:mac:dmg": "electron-builder -m=dmg -p onTagOrDraft",
|
|
|
|
"publish:gh:linux": "node build-config/pack.js && npm run publish:linux",
|
2019-09-03 16:41:54 +00:00
|
|
|
"publish:linux": "npm run publish:linux:deb && npm run publish:linux:appImage",
|
2019-08-23 11:28:54 +00:00
|
|
|
"publish:linux:appImage": "cross-env ARCH=x64 electron-builder -l=AppImage -p onTagOrDraft",
|
|
|
|
"publish:linux:deb": "npm run publish:linux:deb:x64 && npm run publish:linux:deb:x86",
|
|
|
|
"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",
|
2019-08-17 06:45:59 +00:00
|
|
|
"pack:linux": "node build-config/pack.js && electron-builder -l",
|
2019-08-16 09:27:23 +00:00
|
|
|
"pack:dir": "node build-config/pack.js && electron-builder --dir",
|
|
|
|
"dev": "node build-config/runner-dev.js",
|
|
|
|
"clean:electron": "rimraf dist/electron",
|
|
|
|
"clean:web": "rimraf dist/web",
|
|
|
|
"clean": "rimraf dist && rimraf build",
|
|
|
|
"build:main": "cross-env NODE_ENV=production webpack --config build-config/main/webpack.config.prod.js --progress --hide-modules",
|
|
|
|
"build:renderer": "cross-env NODE_ENV=production webpack --config build-config/renderer/webpack.config.prod.js --progress --hide-modules",
|
|
|
|
"build:web": "npm run clean:web && cross-env NODE_ENV=production webpack --config build-config/web/webpack.config.prod.js --progress --hide-modules",
|
|
|
|
"build": "npm run clean:electron && npm run build:main && npm run build:renderer",
|
|
|
|
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-formatter-friendly src",
|
|
|
|
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-formatter-friendly --fix src"
|
|
|
|
},
|
|
|
|
"browserslist": [
|
2020-03-12 08:59:16 +00:00
|
|
|
"Electron 8.1.1"
|
2019-08-16 09:27:23 +00:00
|
|
|
],
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 12"
|
|
|
|
},
|
|
|
|
"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/**/*"
|
|
|
|
],
|
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",
|
2019-08-22 15:02:59 +00:00
|
|
|
"shortcutName": "lx-music"
|
2019-08-16 09:27:23 +00:00
|
|
|
},
|
2019-08-23 11:28:54 +00:00
|
|
|
"dmg": {
|
|
|
|
"contents": [
|
|
|
|
{
|
|
|
|
"x": 110,
|
|
|
|
"y": 150,
|
|
|
|
"name": "lx-music"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 240,
|
|
|
|
"y": 150,
|
|
|
|
"type": "link",
|
|
|
|
"path": "/Applications",
|
|
|
|
"name": "lx-music"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "洛雪音乐助手 v${version}"
|
|
|
|
},
|
|
|
|
"appImage": {
|
|
|
|
"license": "./licenses/license_zh.txt",
|
2019-11-20 05:19:26 +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": {
|
2020-03-10 04:40:47 +00:00
|
|
|
"@babel/core": "^7.8.7",
|
2020-01-17 13:52:36 +00:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
2020-03-10 04:40:47 +00:00
|
|
|
"@babel/polyfill": "^7.8.7",
|
|
|
|
"@babel/preset-env": "^7.8.7",
|
2020-01-17 13:52:36 +00:00
|
|
|
"autoprefixer": "^9.7.4",
|
2019-09-08 17:05:30 +00:00
|
|
|
"babel-eslint": "^10.0.3",
|
2019-08-16 09:27:23 +00:00
|
|
|
"babel-loader": "^8.0.6",
|
|
|
|
"babel-minify-webpack-plugin": "^0.3.1",
|
2019-09-08 17:05:30 +00:00
|
|
|
"babel-preset-minify": "^0.5.1",
|
2020-03-19 05:54:54 +00:00
|
|
|
"browserslist": "^4.10.0",
|
|
|
|
"cfonts": "^2.8.1",
|
2019-11-09 17:50:56 +00:00
|
|
|
"chalk": "^3.0.0",
|
2019-08-16 18:22:43 +00:00
|
|
|
"changelog-parser": "^2.8.0",
|
2019-12-14 05:54:22 +00:00
|
|
|
"copy-webpack-plugin": "^5.1.1",
|
2020-01-17 13:52:36 +00:00
|
|
|
"core-js": "^3.6.4",
|
2020-03-10 04:40:47 +00:00
|
|
|
"cos-nodejs-sdk-v5": "^2.5.20",
|
|
|
|
"cross-env": "^7.0.2",
|
2020-01-17 13:52:36 +00:00
|
|
|
"css-loader": "^3.4.2",
|
2019-09-08 17:05:30 +00:00
|
|
|
"del": "^5.1.0",
|
2020-03-10 04:40:47 +00:00
|
|
|
"electron": "^8.1.1",
|
2020-03-12 08:59:16 +00:00
|
|
|
"electron-builder": "^22.4.1",
|
2019-08-16 09:27:23 +00:00
|
|
|
"electron-debug": "^3.0.1",
|
|
|
|
"electron-devtools-installer": "^2.2.4",
|
2020-03-19 05:54:54 +00:00
|
|
|
"electron-to-chromium": "^1.3.379",
|
2020-01-10 14:14:21 +00:00
|
|
|
"eslint": "^6.8.0",
|
2019-09-08 17:05:30 +00:00
|
|
|
"eslint-config-standard": "^14.1.0",
|
2019-08-16 09:27:23 +00:00
|
|
|
"eslint-formatter-friendly": "^7.0.0",
|
2019-12-06 12:55:12 +00:00
|
|
|
"eslint-loader": "^3.0.3",
|
2019-08-16 09:27:23 +00:00
|
|
|
"eslint-plugin-html": "^6.0.0",
|
2020-02-10 09:25:58 +00:00
|
|
|
"eslint-plugin-import": "^2.20.1",
|
2020-01-10 14:14:21 +00:00
|
|
|
"eslint-plugin-node": "^11.0.0",
|
2019-08-16 09:27:23 +00:00
|
|
|
"eslint-plugin-promise": "^4.2.1",
|
2019-09-08 17:05:30 +00:00
|
|
|
"eslint-plugin-standard": "^4.0.1",
|
2020-03-19 05:54:54 +00:00
|
|
|
"file-loader": "^6.0.0",
|
2019-08-16 09:27:23 +00:00
|
|
|
"friendly-errors-webpack-plugin": "^1.7.0",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2020-02-15 10:08:49 +00:00
|
|
|
"less": "^3.11.1",
|
2019-08-16 09:27:23 +00:00
|
|
|
"less-loader": "^5.0.0",
|
2019-09-19 14:30:15 +00:00
|
|
|
"markdown-it": "^10.0.0",
|
2020-01-10 14:14:21 +00:00
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
2019-08-16 09:27:23 +00:00
|
|
|
"multispinner": "^0.2.1",
|
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
|
|
"postcss-loader": "^3.0.0",
|
2020-03-12 15:33:19 +00:00
|
|
|
"postcss-pxtorem": "^5.1.1",
|
2019-08-16 09:27:23 +00:00
|
|
|
"pug": "^2.0.4",
|
|
|
|
"pug-loader": "^2.4.0",
|
|
|
|
"pug-plain-loader": "^1.0.0",
|
2019-11-29 13:35:42 +00:00
|
|
|
"raw-loader": "^4.0.0",
|
2020-02-10 09:25:58 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2019-09-08 17:05:30 +00:00
|
|
|
"stylus": "^0.54.7",
|
2019-08-16 09:27:23 +00:00
|
|
|
"stylus-loader": "^3.0.2",
|
2020-02-15 10:08:49 +00:00
|
|
|
"terser-webpack-plugin": "^2.3.5",
|
2020-03-19 05:54:54 +00:00
|
|
|
"url-loader": "^4.0.0",
|
|
|
|
"vue-loader": "^15.9.1",
|
2019-08-16 09:27:23 +00:00
|
|
|
"vue-style-loader": "^4.1.2",
|
2019-12-14 06:01:53 +00:00
|
|
|
"vue-template-compiler": "^2.6.11",
|
2020-03-10 04:40:47 +00:00
|
|
|
"webpack": "^4.42.0",
|
2020-02-15 10:08:49 +00:00
|
|
|
"webpack-cli": "^3.3.11",
|
2020-02-10 09:25:58 +00:00
|
|
|
"webpack-dev-server": "^3.10.3",
|
2019-08-16 09:27:23 +00:00
|
|
|
"webpack-hot-middleware": "^2.25.0",
|
2019-09-08 17:05:30 +00:00
|
|
|
"webpack-merge": "^4.2.2"
|
2019-08-16 09:27:23 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-02-15 10:08:49 +00:00
|
|
|
"crypto-js": "^4.0.0",
|
2019-09-23 05:24:32 +00:00
|
|
|
"dnscache": "^1.0.2",
|
2020-03-13 08:37:00 +00:00
|
|
|
"electron-log": "^4.1.0",
|
2020-02-28 05:18:44 +00:00
|
|
|
"electron-store": "^5.1.1",
|
2020-03-12 08:59:16 +00:00
|
|
|
"electron-updater": "^4.2.5",
|
2019-09-04 17:41:36 +00:00
|
|
|
"flac-metadata": "^0.1.1",
|
2019-08-16 09:27:23 +00:00
|
|
|
"js-htmlencode": "^0.3.0",
|
2020-03-16 10:27:16 +00:00
|
|
|
"lrc-file-parser": "^1.0.1",
|
2020-03-10 04:40:47 +00:00
|
|
|
"needle": "^2.3.3",
|
|
|
|
"node-id3": "^0.1.14",
|
2020-02-15 10:08:49 +00:00
|
|
|
"request": "^2.88.2",
|
2019-12-14 06:01:53 +00:00
|
|
|
"vue": "^2.6.11",
|
2019-08-16 09:27:23 +00:00
|
|
|
"vue-electron": "^1.0.6",
|
2020-03-10 04:40:47 +00:00
|
|
|
"vue-i18n": "^8.15.5",
|
2020-02-28 05:18:44 +00:00
|
|
|
"vue-router": "^3.1.6",
|
2020-03-10 04:40:47 +00:00
|
|
|
"vuex": "^3.1.3",
|
2019-08-16 09:27:23 +00:00
|
|
|
"vuex-electron": "^1.0.3",
|
|
|
|
"vuex-router-sync": "^5.0.0"
|
|
|
|
}
|
|
|
|
}
|