116 lines
2.9 KiB
JSON
116 lines
2.9 KiB
JSON
{
|
|
"name": "discord",
|
|
"private": true,
|
|
"version": "1.0.9",
|
|
"description": "A Discord clone built with Convex, React, and Electron",
|
|
"author": "Moyettes",
|
|
"type": "module",
|
|
"main": "main.cjs",
|
|
"homepage": "./",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"electron:dev": "concurrently \"vite\" \"wait-on tcp:5173 && electron . --dev\"",
|
|
"electron:build": "vite build && electron-builder"
|
|
},
|
|
"build": {
|
|
"appId": "com.yourorg.discord-clone",
|
|
"productName": "Discord Clone",
|
|
"files": [
|
|
"dist-react/**/*",
|
|
"main.cjs",
|
|
"preload.cjs",
|
|
"updater.cjs",
|
|
"splash.html",
|
|
"package.json"
|
|
],
|
|
"directories": {
|
|
"output": "dist"
|
|
},
|
|
"publish": [
|
|
{
|
|
"provider": "generic",
|
|
"url": "https://gitea.moyettes.com/Moyettes/DiscordClone/releases/download/latest"
|
|
}
|
|
],
|
|
"win": {
|
|
"target": [
|
|
"nsis"
|
|
],
|
|
"signAndEditExecutable": false
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
],
|
|
"category": "public.app-category.social-networking"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage",
|
|
"flatpak"
|
|
],
|
|
"category": "Network;InstantMessaging"
|
|
},
|
|
"flatpak": {
|
|
"runtime": "org.freedesktop.Platform",
|
|
"runtimeVersion": "23.08",
|
|
"sdk": "org.freedesktop.Sdk",
|
|
"base": "org.electronjs.Electron2.BaseApp",
|
|
"baseVersion": "23.08",
|
|
"finishArgs": [
|
|
"--share=ipc",
|
|
"--share=network",
|
|
"--socket=x11",
|
|
"--socket=wayland",
|
|
"--socket=pulseaudio",
|
|
"--device=dri",
|
|
"--device=all",
|
|
"--filesystem=home",
|
|
"--talk-name=org.freedesktop.Notifications"
|
|
]
|
|
},
|
|
"nsis": {
|
|
"oneClick": true,
|
|
"perMachine": false
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@convex-dev/presence": "^0.3.0",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@livekit/components-react": "^2.9.17",
|
|
"@livekit/components-styles": "^1.2.0",
|
|
"convex": "^1.31.2",
|
|
"electron-log": "^5.4.3",
|
|
"electron-updater": "^6.7.3",
|
|
"livekit-client": "^2.16.1",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-easy-crop": "^5.5.6",
|
|
"react-markdown": "^10.1.0",
|
|
"react-router-dom": "^7.11.0",
|
|
"react-syntax-highlighter": "^16.1.0",
|
|
"remark-gfm": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@types/react": "^19.2.5",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.1",
|
|
"concurrently": "^9.2.1",
|
|
"electron": "^33.2.1",
|
|
"electron-builder": "^25.1.8",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"globals": "^16.5.0",
|
|
"vite": "^7.2.4",
|
|
"wait-on": "^8.0.1"
|
|
}
|
|
}
|