-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.19 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.19 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "logan",
"version": "0.8.0",
"description": "AI-powered log file viewer and analyzer — handles 14M+ lines with virtual scrolling, MCP agent integration, live serial/logcat/SSH connections, pattern correlation, diff view, and built-in terminal",
"keywords": [
"log-analyzer",
"log-viewer",
"electron",
"typescript",
"mcp",
"ai-agent",
"model-context-protocol",
"serial-monitor",
"logcat",
"ssh",
"developer-tools",
"virtual-scrolling",
"pattern-matching",
"diff-viewer",
"log-parser",
"embedded-systems",
"datadog",
"debugging",
"observability"
],
"main": "dist/main/index.js",
"bin": {
"logan": "./bin/logan"
},
"scripts": {
"postinstall": "electron-rebuild -f || echo 'Warning: native module rebuild failed — terminal/serial/SSH may not work'",
"rebuild-native": "electron-rebuild -f",
"build": "tsc && npm run copy-assets",
"copy-assets": "node scripts/copy-assets.js",
"start": "npm run build && electron . --no-sandbox",
"dev": "npm run build && electron . --no-sandbox",
"watch": "tsc -w",
"typecheck": "tsc --noEmit",
"test": "vitest run --exclude src/tests/benchmark.test.ts",
"test:watch": "vitest --exclude src/tests/benchmark.test.ts",
"benchmark": "vitest run src/tests/benchmark.test.ts --reporter verbose --no-file-parallelism",
"package": "npm run build && electron-builder --mac",
"package:win": "npm run build && electron-builder --win",
"package:linux": "npm run build && electron-builder --linux",
"package:all": "npm run build && electron-builder --mac --win --linux",
"mcp": "node dist/mcp-server/index.js",
"logan-listen": "node dist/mcp-server/logan-listen.js"
},
"author": {
"name": "SolidKey AB",
"email": "info@solidkey.se"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/SolidKeyAB/logan.git"
},
"devDependencies": {
"@electron/rebuild": "^3.7.2",
"@types/diff": "^7.0.2",
"@types/node": "^20.10.0",
"@types/ssh2": "^1.15.5",
"electron": "^28.0.0",
"electron-builder": "^24.9.1",
"typescript": "^5.3.0",
"vitest": "^4.0.18"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.26.0",
"diff": "^8.0.3",
"marked": "^17.0.1",
"node-pty": "^1.1.0",
"serialport": "^12.0.0",
"ssh2": "^1.17.0",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0",
"zod": "^4.3.6"
},
"build": {
"appId": "com.solidkey.logan",
"productName": "LOGAN",
"directories": {
"output": "release",
"buildResources": "assets"
},
"files": [
"dist/**/*",
"package.json"
],
"asarUnpack": [
"node_modules/node-pty/**",
"node_modules/serialport/**",
"node_modules/@serialport/**"
],
"mac": {
"category": "public.app-category.developer-tools",
"icon": "icon.png",
"target": [
"dmg",
"zip"
]
},
"win": {
"icon": "icon.png",
"target": [
"nsis",
"portable"
]
},
"linux": {
"icon": "icon.png",
"target": [
"AppImage",
"deb"
],
"category": "Development"
}
}
}