81 lines
1.9 KiB
JSON
81 lines
1.9 KiB
JSON
{
|
|
"name": "discord",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"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"]
|
|
},
|
|
"mac": {
|
|
"target": ["dmg", "zip"],
|
|
"category": "public.app-category.social-networking"
|
|
},
|
|
"linux": {
|
|
"target": ["AppImage"]
|
|
},
|
|
"nsis": {
|
|
"oneClick": true,
|
|
"perMachine": false
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@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-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"
|
|
}
|
|
}
|