83 lines
2.1 KiB
JSON
83 lines
2.1 KiB
JSON
{
|
|
"name": "deemix-gui",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"repository": "https://gitlab.com/RemixDev/deemix-gui.git",
|
|
"author": "RemixDev <RemixDev64@gmail.com>",
|
|
"license": "GPL-3.0-only",
|
|
"scripts": {
|
|
"start": "electron . --dev",
|
|
"prebuild": "yarn server-build && yarn --cwd ./webui build",
|
|
"predist": "yarn prebuild",
|
|
"dist": "electron-builder",
|
|
"dist:dir": "electron-builder --dir",
|
|
"server-start": "yarn --cwd server start",
|
|
"server-start-build": "yarn --cwd server start-build",
|
|
"server-lint": "yarn --cwd server lint",
|
|
"server-build": "yarn --cwd server build",
|
|
"server-test": "yarn --cwd server test",
|
|
"server-test-watch": "yarn --cwd server test-watch",
|
|
"server-dist": "./node_modules/.bin/pkg --out-dir server-dist ./server/package.json"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^12.0.9",
|
|
"electron-builder": "22.11.4",
|
|
"pkg": "5.3.0"
|
|
},
|
|
"dependencies": {
|
|
"electron-context-menu": "^3.1.0",
|
|
"electron-window-state-manager": "^0.3.2",
|
|
"yargs": "17.0.1"
|
|
},
|
|
"build": {
|
|
"appId": "app.deemix.gui",
|
|
"productName": "deemix-gui",
|
|
"files": [
|
|
"index.js",
|
|
"preload.js",
|
|
"server/dist/**/*",
|
|
"webui/public/**/*",
|
|
"build/**/*",
|
|
"package.json"
|
|
],
|
|
"mac": {
|
|
"target": "dmg",
|
|
"artifactName": "deemix-gui.${ext}",
|
|
"category": "public.app-category.music"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": "x64"
|
|
},
|
|
{
|
|
"target": "portable",
|
|
"arch": "x64"
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"appimage",
|
|
"deb"
|
|
],
|
|
"artifactName": "deemix-gui.${ext}",
|
|
"category": "AudioVideo,Audio",
|
|
"icon": "build/icon.icns"
|
|
},
|
|
"nsis": {
|
|
"artifactName": "${productName}_setup.${ext}",
|
|
"oneClick": false,
|
|
"license": "LICENSE.txt",
|
|
"allowToChangeInstallationDirectory": true,
|
|
"uninstallDisplayName": "${productName}",
|
|
"deleteAppDataOnUninstall": true
|
|
},
|
|
"portable": {
|
|
"artifactName": "${productName}.${ext}",
|
|
"requestExecutionLevel": "user"
|
|
}
|
|
}
|
|
}
|