72 lines
1.8 KiB
JSON
72 lines
1.8 KiB
JSON
{
|
|
"name": "telegram-invite-automation",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Automated user parsing and invites for Telegram groups",
|
|
"main": "src/main/index.js",
|
|
"type": "commonjs",
|
|
"scripts": {
|
|
"dev": "concurrently -k \"vite\" \"wait-on http://127.0.0.1:5173 && electron .\"",
|
|
"start": "electron .",
|
|
"build": "vite build && electron-builder",
|
|
"build:win": "vite build && electron-builder --win",
|
|
"build:mac": "vite build && electron-builder --mac",
|
|
"build:all": "vite build && electron-builder --win --mac",
|
|
"build:linux": "vite build && electron-builder --linux",
|
|
"dist": "vite build && electron-builder"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^9.4.0",
|
|
"dayjs": "^1.11.11",
|
|
"telegram": "^2.26.9",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"concurrently": "^8.2.2",
|
|
"electron": "^29.1.0",
|
|
"electron-builder": "^24.12.0",
|
|
"wait-on": "^7.2.0",
|
|
"vite": "^5.1.4"
|
|
},
|
|
"build": {
|
|
"appId": "com.profi.telegram-invite-automation",
|
|
"productName": "Telegram Invite Automation",
|
|
"directories": {
|
|
"output": "dist/release"
|
|
},
|
|
"files": [
|
|
"dist/**",
|
|
"src/main/**",
|
|
"package.json"
|
|
],
|
|
"asar": true,
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
],
|
|
"artifactName": "Telegram-Invite-Automation-mac-${version}.${ext}"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis",
|
|
"portable"
|
|
],
|
|
"artifactName": "Telegram-Invite-Automation-win-${version}.${ext}"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage",
|
|
"deb"
|
|
]
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
}
|
|
}
|