加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.68 KB
一键复制 编辑 原始数据 按行查看 历史
RIVE2012 提交于 2023-05-27 07:57 . 一、环境变更( For开发者 )
{
"name": "less-player",
"private": true,
"version": "0.1.15-dev-4",
"description": "Less Player, Less is More ! ",
"author": {
"name": "RIVE2012",
"email": "Rive08@126.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GeekLee2012/Less-Player-Desktop.git"
},
"license": "Apache License 2.0",
"main": "src/main/main.js",
"scripts": {
"dev": "cross-env NODE_ENV=dev concurrently vite \"electron .\"",
"dist": "cross-env NODE_ENV=prod vite build && electron-builder",
"build": "cross-env NODE_ENV=prod vite build",
"pack": "cross-env NODE_ENV=prod electron-builder",
"dist:mac": "cross-env NODE_ENV=prod vite build && electron-builder --mac --x64",
"dist:mac-arm64": "cross-env NODE_ENV=prod vite build && electron-builder --mac --arm64",
"dist:win": "cross-env NODE_ENV=prod vite build && electron-builder --win --x64",
"dist:win-arm64": "cross-env NODE_ENV=prod vite build && electron-builder --win --arm64",
"dist:win-x86": "cross-env NODE_ENV=prod vite build && electron-builder --win --ia32",
"dist:linux": "cross-env NODE_ENV=prod vite build && electron-builder --linux --x64",
"dist:linux-arm64": "cross-env NODE_ENV=prod vite build && electron-builder --linux --arm64",
"dist:x64": "cross-env NODE_ENV=prod vite build && electron-builder --mac --x64 && cross-env PACK_HISTORY=keep electron-builder --win --x64 && cross-env PACK_HISTORY=keep electron-builder --linux --x64",
"dist:mac-release": "cross-env NODE_ENV=prod vite build && electron-builder --mac --x64 && cross-env PACK_HISTORY=keep electron-builder --mac --arm64",
"dist:win-release": "cross-env NODE_ENV=prod vite build && electron-builder --win --x64 && cross-env PACK_HISTORY=keep electron-builder --win --arm64 && cross-env PACK_HISTORY=keep electron-builder --win --ia32",
"dist:linux-release": "cross-env NODE_ENV=prod vite build && electron-builder --linux --x64 && cross-env PACK_HISTORY=keep electron-builder --linux --arm64",
"dist:release": "cross-env NODE_ENV=prod vite build && electron-builder --mac --x64 && cross-env PACK_HISTORY=keep electron-builder --win --x64 && cross-env PACK_HISTORY=keep electron-builder --linux --x64 &&cross-env PACK_HISTORY=keep electron-builder --mac --arm64 && cross-env PACK_HISTORY=keep electron-builder --win --arm64 && cross-env PACK_HISTORY=keep electron-builder --linux --arm64 && cross-env PACK_HISTORY=keep electron-builder --win --ia32",
"dist:mini-release": "cross-env NODE_ENV=prod vite build && electron-builder --mac --x64 && cross-env PACK_HISTORY=keep electron-builder --mac --arm64 && cross-env PACK_HISTORY=keep electron-builder --win --x64"
},
"dependencies": {
"axios": "^1.4.0",
"crypto-js": "^4.1.1",
"hls.js": "^1.4.4",
"howler": "^2.2.3",
"iconv-lite": "^0.6.3",
"jschardet": "^3.0.0",
"mitt": "^3.0.0",
"mousetrap": "^1.6.5",
"music-metadata": "^7.13.4",
"node-forge": "^1.3.1",
"pinia": "^2.1.3",
"pinia-plugin-persist": "^1.0.0",
"qs": "^6.11.2",
"vue": "^3.2.25",
"vue-router": "^4.2.1",
"vue3-lazyload": "^0.3.6"
},
"devDependencies": {
"@types/node-forge": "^1.3.2",
"@vitejs/plugin-vue": "^4.2.3",
"concurrently": "^8.0.1",
"cross-env": "^7.0.3",
"electron": "^22.0.0",
"electron-builder": ">=22.14.13",
"vite": "^4.3.9",
"vue-color-kit": "^1.0.5",
"wait-on": "^7.0.1"
},
"build": {
"appId": "xyz.rive2012.less-player",
"productName": "Less Player",
"copyright": "Copyright © RIVE2012",
"beforePack": "src/main/beforePack.js",
"directories": {
"output": "output"
},
"files": [
"**/*",
"!public/impulse/*",
"!public/bg_blue.jpg",
"!public/deco_1001.png",
"!public/deco_1002.png",
"!public/deco_1003.png",
"!public/default_cover.png",
"!**/*.md",
"!**/{npmrc,.npmrc,vite.config.js,package-lock.json}"
],
"mac": {
"artifactName": "${productName}.v${version}.${os}-${arch}.${ext}",
"icon": "dist/icon.icns",
"category": "public.app-category.music"
},
"win": {
"artifactName": "${productName}.v${version}.${os}-${arch}.${ext}",
"target": [
{
"target": "nsis"
},
{
"target": "zip"
}
],
"icon": "dist/favicon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": true,
"deleteAppDataOnUninstall": true
},
"linux": {
"artifactName": "${productName}.v${version}.${os}-${arch}.${ext}",
"target": [
{
"target": "AppImage"
}
],
"icon": "dist/icon@256X256.icns",
"category": "Audio"
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化