-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.57 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.57 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
74
75
{
"name": "tele-mirror",
"description": "A simple desktop client for viewing Telegram channels, specifically designed for complex filtering environments like Iran",
"author": "ircfspace <ircfspace@gmail.com> (https://ircf.space/)",
"version": "3.2.0",
"main": "main.js",
"scripts": {
"dev": "npm start",
"start": "electron .",
"build": "electron-builder --publish=never",
"build-win": "electron-builder --win --publish=never",
"build-dir": "electron-builder --win dir --publish=never",
"package": "npm run build-dir && powershell -Command \"New-Item -Path 'tele-mirror' -ItemType Directory -Force; Copy-Item -Path 'dist/win-unpacked/*' -Destination 'tele-mirror/' -Recurse; Compress-Archive -Path 'tele-mirror/*' -DestinationPath 'teleMirror-win.zip' -Force; Remove-Item -Path 'tele-mirror' -Recurse -Force\"",
"format": "prettier --write . --config .prettierrc --ignore-path .prettierignore --cache"
},
"dependencies": {
"axios": "^1.6.0",
"cheerio": "^1.2.0",
"express": "^4.22.1",
"prettier": "^3.8.3"
},
"devDependencies": {
"electron": "^41.5.0",
"electron-builder": "^26.8.1"
},
"build": {
"appId": "com.tele-mirror.app",
"productName": "TeleMirror",
"directories": {
"output": "dist"
},
"files": [
"main.js",
"preload.js",
"http-client.js",
"telegram-parser.js",
"config/**/*",
"server/**/*",
"renderer/**/*",
"assets/**/*",
"package.json",
"!**/node_modules/*",
"!**/test-*",
"!**/*.md",
"!**/.git/**",
"!**/.github/**",
"!**/builder-debug.yml",
"!**/builder-effective-config.yaml",
"!**/*-debug.yml",
"!**/*-debug.yaml"
],
"extraFiles": [],
"extraResources": [],
"win": {
"target": "zip",
"icon": "assets/teleMirror.png",
"artifactName": "tele-mirror-win-${arch}.zip"
},
"linux": {
"target": "tar.gz",
"icon": "assets/teleMirror.png",
"artifactName": "tele-mirror-linux-${arch}.tar.gz"
},
"mac": {
"target": [
"zip",
"dmg"
],
"icon": "assets/teleMirror.png",
"artifactName": "tele-mirror-mac-${arch}.${ext}"
},
"compression": "maximum",
"asar": true
}
}