mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-24 21:09:23 +08:00
52d7a2af26
* feat: add translations * refactor: use trinocular operators instead if * style: add prettier to eslint, fix lint errors * chore: add .gitattr
119 lines
3.7 KiB
JSON
119 lines
3.7 KiB
JSON
{
|
|
"name": "YesPlayMusic",
|
|
"version": "0.3.4",
|
|
"private": true,
|
|
"description": "A third party music application for Netease Music",
|
|
"author": "hawtim<hawtimzhang@gmail.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": {
|
|
"@njzy/unblockneteasemusic": "^0.25.3",
|
|
"axios": "^0.21.0",
|
|
"big-integer": "^1.6.48",
|
|
"change-case": "^4.1.2",
|
|
"core-js": "^3.6.5",
|
|
"crypto-js": "^4.0.0",
|
|
"dayjs": "^1.8.36",
|
|
"electron": "^12.0.0",
|
|
"electron-builder": "^22.10.5",
|
|
"electron-context-menu": "^2.3.0",
|
|
"electron-debug": "^3.1.0",
|
|
"electron-devtools-installer": "^3.1.1",
|
|
"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",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"express": "^4.17.1",
|
|
"express-fileupload": "^1.2.0",
|
|
"express-http-proxy": "^1.6.2",
|
|
"extract-zip": "^2.0.1",
|
|
"howler": "^2.2.0",
|
|
"js-cookie": "^2.2.1",
|
|
"localforage": "^1.9.0",
|
|
"lodash": "^4.17.20",
|
|
"nprogress": "^0.2.0",
|
|
"pac-proxy-agent": "^4.1.0",
|
|
"plyr": "^3.6.2",
|
|
"prettier": "2.1.2",
|
|
"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-i18n": "^8.22.0",
|
|
"vue-router": "^3.4.3",
|
|
"vue-slider-component": "^3.2.5",
|
|
"vuex": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sentry/browser": "^5.27.0",
|
|
"@sentry/integrations": "^5.27.0",
|
|
"@sentry/tracing": "^5.27.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-plugin-vue": "^6.2.2",
|
|
"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",
|
|
"eslint:recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"parser": "babel-eslint"
|
|
},
|
|
"globals": {
|
|
"ipcRenderer": "off"
|
|
},
|
|
"rules": {}
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not dead"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run prettier"
|
|
}
|
|
}
|
|
}
|