193 lines
5.8 KiB
JSON
193 lines
5.8 KiB
JSON
{
|
|
"name": "vesktop",
|
|
"version": "1.5.3",
|
|
"private": true,
|
|
"description": "Vesktop is a custom Discord desktop app",
|
|
"keywords": [],
|
|
"homepage": "https://vencord.dev/",
|
|
"license": "GPL-3.0",
|
|
"author": "Vendicated <vendicated@riseup.net>",
|
|
"main": "dist/js/main.js",
|
|
"scripts": {
|
|
"build": "tsx scripts/build/build.mts",
|
|
"build:dev": "pnpm build --dev",
|
|
"package": "pnpm build && electron-builder",
|
|
"package:dir": "pnpm build && electron-builder --dir",
|
|
"lint": "eslint",
|
|
"lint:fix": "pnpm lint --fix",
|
|
"start": "pnpm build && electron .",
|
|
"start:dev": "pnpm build:dev && electron .",
|
|
"start:watch": "pnpm build:dev && tsx scripts/startWatch.mts",
|
|
"test": "pnpm lint && pnpm testTypes",
|
|
"testTypes": "tsc --noEmit",
|
|
"watch": "pnpm build --watch",
|
|
"updateMeta": "tsx scripts/utils/updateMeta.mts"
|
|
},
|
|
"dependencies": {
|
|
"arrpc": "github:OpenAsar/arrpc#5aadc307cb9bf4479f0a12364a253b07a77ace22",
|
|
"electron-updater": "^6.3.4"
|
|
},
|
|
"optionalDependencies": {
|
|
"@vencord/venmic": "^6.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
|
"@stylistic/eslint-plugin": "^2.8.0",
|
|
"@types/node": "^22.5.5",
|
|
"@types/react": "^18.3.8",
|
|
"@vencord/types": "^1.8.4",
|
|
"dotenv": "^16.4.5",
|
|
"electron": "^32.1.2",
|
|
"electron-builder": "^25.0.5",
|
|
"esbuild": "^0.23.1",
|
|
"eslint": "^9.11.0",
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
"eslint-plugin-path-alias": "^2.1.0",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"eslint-plugin-simple-header": "^1.2.1",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
"prettier": "^3.3.3",
|
|
"source-map-support": "^0.5.21",
|
|
"tsx": "^4.19.1",
|
|
"type-fest": "^4.26.1",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.6.0",
|
|
"xml-formatter": "^3.6.3"
|
|
},
|
|
"packageManager": "pnpm@9.1.0",
|
|
"engines": {
|
|
"node": ">=18",
|
|
"pnpm": ">=8"
|
|
},
|
|
"build": {
|
|
"appId": "dev.vencord.vesktop",
|
|
"productName": "Vesktop",
|
|
"files": [
|
|
"!*",
|
|
"!node_modules",
|
|
"dist/js",
|
|
"static",
|
|
"package.json",
|
|
"LICENSE"
|
|
],
|
|
"beforePack": "scripts/build/sandboxFix.js",
|
|
"linux": {
|
|
"icon": "build/icon.icns",
|
|
"category": "Network",
|
|
"maintainer": "vendicated+vesktop@riseup.net",
|
|
"target": [
|
|
{
|
|
"target": "deb",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "tar.gz",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "rpm",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"desktop": {
|
|
"Name": "Vesktop",
|
|
"GenericName": "Internet Messenger",
|
|
"Type": "Application",
|
|
"Categories": "Network;InstantMessaging;Chat;",
|
|
"Keywords": "discord;vencord;electron;chat;"
|
|
}
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
{
|
|
"target": "default",
|
|
"arch": [
|
|
"universal"
|
|
]
|
|
}
|
|
],
|
|
"category": "public.app-category.social-networking",
|
|
"darkModeSupport": true,
|
|
"extendInfo": {
|
|
"NSMicrophoneUsageDescription": "This app needs access to the microphone",
|
|
"NSCameraUsageDescription": "This app needs access to the camera",
|
|
"com.apple.security.device.audio-input": true,
|
|
"com.apple.security.device.camera": true
|
|
},
|
|
"notarize": true
|
|
},
|
|
"dmg": {
|
|
"background": "build/background.tiff",
|
|
"icon": "build/icon.icns",
|
|
"iconSize": 105,
|
|
"window": {
|
|
"width": 512,
|
|
"height": 340
|
|
},
|
|
"contents": [
|
|
{
|
|
"x": 140,
|
|
"y": 160
|
|
},
|
|
{
|
|
"x": 372,
|
|
"y": 160,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"include": "build/installer.nsh",
|
|
"oneClick": false
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"publish": {
|
|
"provider": "github"
|
|
},
|
|
"rpm": {
|
|
"fpm": [
|
|
"--rpm-rpmbuild-define=_build_id_links none"
|
|
]
|
|
}
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"arrpc@3.5.0": "patches/arrpc@3.5.0.patch"
|
|
}
|
|
}
|
|
}
|