2021-05-23 20:42:16 +00:00
|
|
|
{
|
|
|
|
"name": "deemix-gui",
|
2021-07-18 19:59:41 +00:00
|
|
|
"version": "0.0.0",
|
2021-05-23 20:42:16 +00:00
|
|
|
"main": "index.js",
|
|
|
|
"repository": "https://gitlab.com/RemixDev/deemix-gui.git",
|
|
|
|
"author": "RemixDev <RemixDev64@gmail.com>",
|
|
|
|
"license": "GPL-3.0-only",
|
|
|
|
"scripts": {
|
2022-02-09 13:29:13 +00:00
|
|
|
"install-all": "yarn install && yarn --cwd server install --production && yarn --cwd webui install --production",
|
|
|
|
"install-all-dev": "yarn install && yarn --cwd server install && yarn --cwd webui install",
|
2021-07-17 13:17:29 +00:00
|
|
|
"dev": "yarn --cwd webui dev",
|
2021-05-23 20:42:16 +00:00
|
|
|
"start": "electron . --dev",
|
2021-07-18 19:59:41 +00:00
|
|
|
"predist": "yarn build-server && yarn build-webui",
|
|
|
|
"dist": "yarn set-version && electron-builder && yarn reset-version",
|
|
|
|
"dist:dir": "yarn set-version && yarn predist && electron-builder --dir && yarn reset-version",
|
|
|
|
"dist-server": "yarn set-version && yarn predist && ./node_modules/.bin/pkg --out-dir dist ./server/package.json && yarn reset-version",
|
|
|
|
"start-server": "yarn --cwd server start",
|
|
|
|
"build-server": "yarn --cwd server build",
|
|
|
|
"build-webui": "yarn --cwd webui build",
|
2021-07-18 20:29:07 +00:00
|
|
|
"set-version": "node scripts/set-version.js",
|
|
|
|
"reset-version": "node scripts/reset-version.js"
|
2021-05-23 20:42:16 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"electron": "^12.0.9",
|
2021-06-14 17:31:21 +00:00
|
|
|
"electron-builder": "22.11.4",
|
2021-07-02 17:57:06 +00:00
|
|
|
"pkg": "5.3.0"
|
2021-05-29 10:33:20 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"electron-context-menu": "^3.1.0",
|
2021-05-29 11:58:10 +00:00
|
|
|
"electron-window-state-manager": "^0.3.2",
|
2021-06-14 17:31:21 +00:00
|
|
|
"yargs": "17.0.1"
|
2021-05-29 11:58:10 +00:00
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "app.deemix.gui",
|
|
|
|
"productName": "deemix-gui",
|
|
|
|
"files": [
|
|
|
|
"index.js",
|
|
|
|
"preload.js",
|
|
|
|
"server/dist/**/*",
|
|
|
|
"webui/public/**/*",
|
|
|
|
"build/**/*",
|
|
|
|
"package.json"
|
|
|
|
],
|
|
|
|
"mac": {
|
2021-05-29 14:43:23 +00:00
|
|
|
"target": "dmg",
|
|
|
|
"artifactName": "deemix-gui.${ext}",
|
2021-05-29 11:58:10 +00:00
|
|
|
"category": "public.app-category.music"
|
|
|
|
},
|
|
|
|
"win": {
|
2021-05-29 12:39:30 +00:00
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "nsis",
|
|
|
|
"arch": "x64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "portable",
|
|
|
|
"arch": "x64"
|
|
|
|
}
|
|
|
|
]
|
2021-05-29 11:58:10 +00:00
|
|
|
},
|
|
|
|
"linux": {
|
2021-07-17 13:11:17 +00:00
|
|
|
"target": [
|
|
|
|
"appimage",
|
|
|
|
"deb"
|
|
|
|
],
|
2021-05-29 14:43:23 +00:00
|
|
|
"artifactName": "deemix-gui.${ext}",
|
2021-05-29 11:58:10 +00:00
|
|
|
"category": "AudioVideo,Audio",
|
|
|
|
"icon": "build/icon.icns"
|
2021-05-29 12:39:30 +00:00
|
|
|
},
|
|
|
|
"nsis": {
|
|
|
|
"artifactName": "${productName}_setup.${ext}",
|
|
|
|
"oneClick": false,
|
2021-05-29 18:53:11 +00:00
|
|
|
"license": "LICENSE.txt",
|
2021-05-29 12:39:30 +00:00
|
|
|
"allowToChangeInstallationDirectory": true,
|
|
|
|
"uninstallDisplayName": "${productName}",
|
|
|
|
"deleteAppDataOnUninstall": true
|
|
|
|
},
|
|
|
|
"portable": {
|
|
|
|
"artifactName": "${productName}.${ext}",
|
|
|
|
"requestExecutionLevel": "user"
|
2021-05-29 11:58:10 +00:00
|
|
|
}
|
2021-05-23 20:42:16 +00:00
|
|
|
}
|
|
|
|
}
|