mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-25 09:41:49 +08:00
16c3613267
* refactor: use @unblockneteasemusic/server we also use ipcMain.handle for unblock-music. * refactor(utils/nativeAlert): remove the deprecated "remote" * refactor(ipcMain): use our default sources * style(config/vue): prettier * feat(README): update for new UNM
125 lines
3.8 KiB
JSON
125 lines
3.8 KiB
JSON
{
|
|
"name": "yesplaymusic",
|
|
"version": "0.4.2",
|
|
"private": true,
|
|
"description": "A third party music player for Netease Music",
|
|
"author": "qier222<qier222@outlook.com>",
|
|
"scripts": {
|
|
"serve": "vue-cli-service serve",
|
|
"build": "vue-cli-service build",
|
|
"lint": "vue-cli-service lint",
|
|
"electron:build": "vue-cli-service electron:build -p never",
|
|
"electron:build-all": "vue-cli-service electron:build -p never -mwl",
|
|
"electron:build-mac": "vue-cli-service electron:build -p never -m",
|
|
"electron:build-win": "vue-cli-service electron:build -p never -w",
|
|
"electron:build-linux": "vue-cli-service electron:build -p never -l",
|
|
"electron:serve": "vue-cli-service electron:serve",
|
|
"electron:buildicon": "electron-icon-builder --input=./build/icons/icon.png --output=build --flatten",
|
|
"electron:publish": "vue-cli-service electron:build -mwl -p always",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"postuninstall": "electron-builder install-app-deps",
|
|
"prettier": "npx prettier --write ./src ./script",
|
|
"netease_api:run": "cd ./netease_api && npm run start",
|
|
"netease_api:pull": "node script/pull.js",
|
|
"netease_api:install": "cd ./netease_api && npm install",
|
|
"netease_api:setup": "npm run netease_api:pull && npm run netease_api:install"
|
|
},
|
|
"main": "background.js",
|
|
"dependencies": {
|
|
"@unblockneteasemusic/server": "v0.27.0-rc.4",
|
|
"axios": "^0.21.0",
|
|
"change-case": "^4.1.2",
|
|
"cli-color": "^2.0.0",
|
|
"color": "^3.1.3",
|
|
"core-js": "^3.6.5",
|
|
"crypto-js": "^4.0.0",
|
|
"dayjs": "^1.8.36",
|
|
"dexie": "^3.0.3",
|
|
"discord-rich-presence": "^0.0.8",
|
|
"electron": "^13.0.1",
|
|
"electron-builder": "^22.10.5",
|
|
"electron-context-menu": "^2.3.0",
|
|
"electron-debug": "^3.1.0",
|
|
"electron-devtools-installer": "^3.2",
|
|
"electron-icon-builder": "^1.0.2",
|
|
"electron-is-dev": "^1.2.0",
|
|
"electron-log": "^4.3.0",
|
|
"electron-store": "^6.0.1",
|
|
"electron-updater": "^4.3.5",
|
|
"express": "^4.17.1",
|
|
"express-fileupload": "^1.2.0",
|
|
"express-http-proxy": "^1.6.2",
|
|
"extract-zip": "^2.0.1",
|
|
"howler": "^2.2.3",
|
|
"js-cookie": "^2.2.1",
|
|
"lodash": "^4.17.20",
|
|
"md5": "^2.3.0",
|
|
"music-metadata": "^7.5.3",
|
|
"node-vibrant": "^3.1.6",
|
|
"nprogress": "^0.2.0",
|
|
"pac-proxy-agent": "^4.1.0",
|
|
"plyr": "^3.6.2",
|
|
"prettier": "2.1.2",
|
|
"qrcode": "^1.4.4",
|
|
"register-service-worker": "^1.7.1",
|
|
"svg-sprite-loader": "^5.0.0",
|
|
"tunnel": "^0.0.6",
|
|
"vscode-codicons": "^0.0.14",
|
|
"vue": "^2.6.11",
|
|
"vue-analytics": "^5.22.1",
|
|
"vue-clipboard2": "^0.3.1",
|
|
"vue-i18n": "^8.22.0",
|
|
"vue-router": "^3.4.3",
|
|
"vue-slider-component": "^3.2.5",
|
|
"vuex": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^17.0.0",
|
|
"@vue/cli-plugin-babel": "~4.5.0",
|
|
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
"@vue/cli-plugin-pwa": "~4.5.0",
|
|
"@vue/cli-plugin-vuex": "~4.5.0",
|
|
"@vue/cli-service": "~4.5.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"eslint": "^6.7.2",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-vue": "^7.9.0",
|
|
"husky": "^4.3.0",
|
|
"sass": "^1.26.11",
|
|
"sass-loader": "^10.0.2",
|
|
"vue-cli-plugin-electron-builder": "~2.0.0-rc.4",
|
|
"vue-template-compiler": "^2.6.11"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"env": {
|
|
"node": true,
|
|
"browser": true
|
|
},
|
|
"extends": [
|
|
"plugin:vue/essential",
|
|
"plugin:vue/recommended",
|
|
"plugin:prettier/recommended",
|
|
"eslint:recommended"
|
|
],
|
|
"parserOptions": {
|
|
"parser": "babel-eslint"
|
|
},
|
|
"globals": {
|
|
"ipcRenderer": "off"
|
|
},
|
|
"rules": {}
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not dead"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run prettier"
|
|
}
|
|
}
|
|
}
|