c445c6194f
Co-authored-by: V <vendicated@riseup.net>
119 lines
3.8 KiB
JSON
119 lines
3.8 KiB
JSON
{
|
|
"name": "VencordDesktop",
|
|
"version": "0.3.3",
|
|
"private": true,
|
|
"description": "",
|
|
"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 . --ext .js,.jsx,.ts,.tsx,.mts,.mjs",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"arrpc": "github:OpenAsar/arrpc#89f4da610ccfac93f461826a446a17cd3b23953d"
|
|
},
|
|
"devDependencies": {
|
|
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
|
"@types/node": "^20.8.4",
|
|
"@types/react": "^18.2.28",
|
|
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
|
"@typescript-eslint/parser": "^6.7.5",
|
|
"@vencord/types": "^0.1.2",
|
|
"dotenv": "^16.3.1",
|
|
"electron": "^27.0.0",
|
|
"electron-builder": "^24.6.4",
|
|
"esbuild": "^0.19.4",
|
|
"eslint": "^8.51.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
"eslint-plugin-license-header": "^0.6.0",
|
|
"eslint-plugin-path-alias": "^1.0.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
"prettier": "^3.0.3",
|
|
"source-map-support": "^0.5.21",
|
|
"tsx": "^3.13.0",
|
|
"type-fest": "^4.4.0",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"packageManager": "pnpm@8.6.11",
|
|
"engines": {
|
|
"node": ">=18",
|
|
"pnpm": ">=8"
|
|
},
|
|
"build": {
|
|
"appId": "dev.vencord.desktop",
|
|
"productName": "Vesktop",
|
|
"files": [
|
|
"!*",
|
|
"dist/js",
|
|
"static",
|
|
"package.json",
|
|
"LICENSE"
|
|
],
|
|
"linux": {
|
|
"icon": "build/icon.icns",
|
|
"category": "Network",
|
|
"maintainer": "vendicated+vesktop@riseup.net",
|
|
"target": [
|
|
"deb",
|
|
"tar.gz",
|
|
"rpm",
|
|
"AppImage"
|
|
],
|
|
"desktop": {
|
|
"Name": "Vesktop",
|
|
"GenericName": "Internet Messenger",
|
|
"Type": "Application",
|
|
"Categories": "Network;InstantMessaging;Chat;",
|
|
"Keywords": "discord;vencord;electron;chat;",
|
|
"WMClass": "VencordDesktop"
|
|
}
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
{
|
|
"target": "default",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"category": "Network",
|
|
"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
|
|
}
|
|
},
|
|
"nsis": {
|
|
"include": "build/installer.nsh",
|
|
"oneClick": false
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis",
|
|
"zip"
|
|
]
|
|
},
|
|
"publish": {
|
|
"provider": "github"
|
|
}
|
|
}
|
|
}
|