{ "name": "lx-music-desktop", "version": "0.13.1", "description": "一个免费的音乐下载助手", "main": "./dist/electron/main.js", "productName": "lx-music-desktop", "scripts": { "pack": "node build-config/pack.js && npm run pack:win", "pack:win": "npm run pack:win:setup && npm run pack:win:7z", "pack:win:setup": "cross-env TARGET=win_安装版 ARCH=x64_x86 electron-builder -w=nsis --x64 --ia32", "pack:win:portable": "npm run pack:win:portable:x64_x86 && npm run pack:win:portable:x64 && npm run pack:win:portable:x86", "pack:win:portable:x64_x86": "cross-env TARGET=便携版 ARCH=x64_x86 electron-builder -w=portable --x64 --ia32", "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", "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", "publish": "node publish", "publish:gh": "node build-config/pack.js && npm run publish:win", "publish:win": "npm run publish:win:7z && npm run publish:win:setup", "publish:win:setup": "cross-env TARGET=Setup ARCH=x64_x86 electron-builder -w=nsis --x64 --ia32 -p onTagOrDraft", "publish:win:portable": "npm run publish:win:portable:x64_x86 && npm run publish:win:portable:x64 && npm run publish:win:portable:x86", "publish:win:portable:x64_x86": "cross-env TARGET=portable ARCH=x64_x86 electron-builder -w=portable --x64 --ia32 -p onTagOrDraft", "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", "publish:win:7z:x64": "cross-env TARGET=green ARCH=win_x64 electron-builder -w=7z --x64 -p always", "publish:win:7z:x86": "cross-env TARGET=green ARCH=win_x86 electron-builder -w=7z --ia32 -p onTagOrDraft", "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", "publish:linux": "npm run publish:linux:deb && npm run publish:linux:appImage", "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", "pack:linux": "node build-config/pack.js && electron-builder -l", "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": [ "Electron 7.1.8" ], "engines": { "node": ">= 12" }, "build": { "appId": "cn.toside.music.desktop", "directories": { "output": "./build" }, "files": [ "dist/electron/**/*" ], "extraResources": [ "./licenses" ], "win": { "icon": "./resources/icons/256x256.ico", "legalTrademarks": "lyswhut", "artifactName": "${productName} v${version} ${env.ARCH} ${env.TARGET}.${ext}" }, "mac": { "icon": "./resources/icons/512x512.icns", "category": "public.app-category.music" }, "linux": { "maintainer": "lyswhut ", "artifactName": "${productName} v${version} ${env.ARCH}.${ext}", "icon": "./resources/icons", "category": "Utility;AudioVideo;Audio;Player;Music;", "desktop": { "Name[zh_CN]": "洛雪音乐助手" } }, "nsis": { "oneClick": false, "language": "2052", "allowToChangeInstallationDirectory": true, "differentialPackage": true, "license": "./licenses/license.rtf", "shortcutName": "lx-music" }, "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", "category": "Utility;AudioVideo;Audio;Player;Music;" }, "publish": [ { "provider": "github", "owner": "lyswhut", "repo": "lx-music-desktop" } ] }, "repository": { "type": "git", "url": "git+https://github.com/lyswhut/lx-music-desktop.git" }, "keywords": [ "music-player", "electron-app", "vuejs2" ], "author": { "name": "lyswhut", "email": "lyswuhut@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.7.7", "@babel/plugin-syntax-dynamic-import": "^7.7.4", "@babel/polyfill": "^7.7.0", "@babel/preset-env": "^7.7.7", "autoprefixer": "^9.7.3", "babel-eslint": "^10.0.3", "babel-loader": "^8.0.6", "babel-minify-webpack-plugin": "^0.3.1", "babel-preset-minify": "^0.5.1", "browserslist": "^4.8.3", "cfonts": "^2.4.8", "chalk": "^3.0.0", "changelog-parser": "^2.8.0", "copy-webpack-plugin": "^5.1.1", "core-js": "^3.6.2", "cos-nodejs-sdk-v5": "^2.5.14", "cross-env": "^6.0.3", "css-loader": "^3.4.1", "del": "^5.1.0", "electron": "^7.1.8", "electron-builder": "^21.2.0", "electron-debug": "^3.0.1", "electron-devtools-installer": "^2.2.4", "eslint": "^6.8.0", "eslint-config-standard": "^14.1.0", "eslint-formatter-friendly": "^7.0.0", "eslint-loader": "^3.0.3", "eslint-plugin-html": "^6.0.0", "eslint-plugin-import": "^2.19.1", "eslint-plugin-node": "^11.0.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1", "file-loader": "^5.0.2", "friendly-errors-webpack-plugin": "^1.7.0", "html-webpack-plugin": "^3.2.0", "less": "^3.10.3", "less-loader": "^5.0.0", "markdown-it": "^10.0.0", "mini-css-extract-plugin": "^0.9.0", "multispinner": "^0.2.1", "optimize-css-assets-webpack-plugin": "^5.0.3", "postcss-loader": "^3.0.0", "pug": "^2.0.4", "pug-loader": "^2.4.0", "pug-plain-loader": "^1.0.0", "raw-loader": "^4.0.0", "rimraf": "^3.0.0", "stylus": "^0.54.7", "stylus-loader": "^3.0.2", "terser-webpack-plugin": "^2.3.2", "url-loader": "^3.0.0", "vue-loader": "^15.8.3", "vue-style-loader": "^4.1.2", "vue-template-compiler": "^2.6.11", "webpack": "^4.41.5", "webpack-cli": "^3.3.10", "webpack-dev-server": "^3.10.1", "webpack-hot-middleware": "^2.25.0", "webpack-merge": "^4.2.2" }, "dependencies": { "axios": "^0.19.1", "crypto-js": "^3.1.9-1", "dnscache": "^1.0.2", "electron-log": "^4.0.3", "electron-store": "^5.1.0", "electron-updater": "^4.2.0", "flac-metadata": "^0.1.1", "js-htmlencode": "^0.3.0", "lrc-file-parser": "^1.0.0", "node-id3": "^0.1.13", "request": "^2.88.0", "vue": "^2.6.11", "vue-electron": "^1.0.6", "vue-router": "^3.1.3", "vuex": "^3.1.2", "vuex-electron": "^1.0.3", "vuex-router-sync": "^5.0.0" } }