deemix-gui/package.json

84 lines
2.4 KiB
JSON
Raw Normal View History

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": {
"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",
"set-version": "node scripts/set-version.js",
"reset-version": "node scripts/reset-version.js"
2021-05-23 20:42:16 +00:00
},
"devDependencies": {
2022-02-28 13:37:49 +00:00
"electron": "^14.2.0",
"electron-builder": "^22.14.0",
"pkg": "^5.5.0"
},
"dependencies": {
"electron-context-menu": "^3.1.0",
2021-05-29 11:58:10 +00:00
"electron-window-state-manager": "^0.3.2",
2022-02-28 13:37:49 +00:00
"yargs": "^17.3.0"
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": {
"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
}
}