-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.04 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "local-bot-client",
"version": "1.2.1",
"description": "A local desktop app for chatting through Discord bots, viewing logs, and sending messages in real time.",
"main": "main.js",
"homepage": "./",
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"web": "node web-server.js",
"diagnose": "node diagnose.js",
"fix": "node fix.js",
"mobile:init": "npx cap init",
"mobile:add:android": "npx cap add android",
"mobile:add:ios": "npx cap add ios",
"mobile:build": "npm run web && npx cap copy",
"mobile:android": "npm run mobile:build && npx cap open android",
"mobile:ios": "npm run mobile:build && npx cap open ios",
"build": "electron-builder",
"build:win": "electron-builder --win",
"build:mac": "electron-builder --mac",
"build:linux": "electron-builder --linux",
"dist": "electron-builder --publish=never"
},
"keywords": ["electron", "discord", "bot", "client"],
"author": "Your Name",
"license": "MIT",
"dependencies": {
"discord.js": "^14.11.0",
"dotenv": "^16.3.1",
"electron": "^25.0.0",
"express": "^4.18.2"
},
"devDependencies": {
"@capacitor/android": "^5.0.0",
"@capacitor/cli": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/ios": "^5.0.0",
"electron-builder": "^24.6.4",
"electron-reload": "^2.0.0-alpha.1"
},
"build": {
"appId": "com.localbotclient.app",
"productName": "Local Bot Client",
"directories": {
"output": "dist"
},
"files": [
"**/*",
"!config/**/*",
"!dist/**/*",
"!build/**/*",
"!*.md",
"!LICENSE"
],
"win": {
"target": "nsis",
"icon": "assets/icon.ico"
},
"mac": {
"target": "dmg",
"icon": "assets/icon.icns"
},
"linux": {
"target": "AppImage",
"icon": "assets/icon.png"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
}
}