63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"name": "web-karaoke-station",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"description": "Web点歌台 - 在线音乐点播系统",
|
|
"author": "Web点歌台",
|
|
"type": "module",
|
|
"main": "electron/main.cjs",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"electron:dev": "cross-env NODE_ENV=development ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ electron electron/main.cjs",
|
|
"electron:build": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm run build && electron-builder",
|
|
"electron:build:win": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm run build && electron-builder --win"
|
|
},
|
|
"dependencies": {
|
|
"vue": "^3.4.0",
|
|
"electron-store": "^10.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^5.0.0",
|
|
"vite": "^5.0.0",
|
|
"electron": "^28.0.0",
|
|
"electron-builder": "^24.9.1",
|
|
"cross-env": "^7.0.3"
|
|
},
|
|
"build": {
|
|
"appId": "com.webkaraoke.station",
|
|
"productName": "Web点歌台",
|
|
"electronDownload": {
|
|
"mirror": "https://npmmirror.com/mirrors/electron/"
|
|
},
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"electron/**/*.cjs",
|
|
"node_modules/**/*"
|
|
],
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "assets/icon.ico"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
}
|
|
}
|
|
}
|
|
|
|
|