forked from eneskirca/nodeterm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 4.27 KB
/
Copy pathpackage.json
File metadata and controls
145 lines (145 loc) · 4.27 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "node-terminal",
"version": "0.2.42",
"description": "node-based terminal manager — multiple draggable, zoomable terminals on a single canvas.",
"author": {
"name": "enes",
"email": "eneskirca@gmail.com"
},
"license": "BUSL-1.1",
"private": true,
"main": "./out/main/index.js",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"start": "electron-vite preview",
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
"test": "vitest run",
"test:unit": "vitest run test/remote",
"rebuild": "electron-rebuild -f -w node-pty,smart-whisper",
"server:build": "esbuild src/server/main.ts --bundle --platform=node --format=cjs --outfile=out/server/main.cjs --external:node-pty --external:ws --external:smart-whisper --tsconfig=tsconfig.node.json",
"server:start": "node out/server/main.cjs",
"server:dev": "npm run build && npm run server:build && node out/server/main.cjs",
"make-icon": "node scripts/make-icon.mjs",
"make-social": "node scripts/make-social.mjs",
"dist": "npm run make-icon && electron-vite build && electron-builder --mac --arm64 -c.mac.identity=null -c.mac.notarize=false",
"dist:linux": "npm run make-icon && electron-vite build && electron-builder --linux",
"release": "npm run make-icon && electron-vite build && sh -c 'electron-builder --mac --arm64 --x64 --publish never; s=$?; npm run rebuild; exit $s'",
"postinstall": "electron-rebuild -f -w node-pty,smart-whisper"
},
"build": {
"appId": "com.nodeterm.app",
"productName": "nodeterm",
"directories": {
"output": "dist",
"buildResources": "build"
},
"files": [
"out/**/*",
"package.json"
],
"asarUnpack": [
"**/node_modules/node-pty/**",
"**/node_modules/smart-whisper/**"
],
"extraResources": [
{
"from": "build/icon.png",
"to": "icon.png"
}
],
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"category": "Development",
"icon": "build/icon.png",
"maintainer": "enes <eneskirca@gmail.com>"
},
"mac": {
"category": "public.app-category.developer-tools",
"icon": "build/icon.png",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"notarize": true,
"extendInfo": {
"NSMicrophoneUsageDescription": "nodeterm uses the microphone so you can dictate into your terminals."
},
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
{
"target": "zip",
"arch": [
"arm64",
"x64"
]
}
]
},
"publish": {
"provider": "generic",
"url": "https://nodeterm.dev/updates"
}
},
"dependencies": {
"@xterm/addon-unicode11": "^0.9.0",
"@xterm/addon-web-links": "^0.11.0",
"dompurify": "^3.4.11",
"electron-updater": "^6.8.9",
"marked": "^12.0.2",
"monaco-editor": "^0.52.2",
"node-pty": "^1.0.0",
"qrcode": "^1.5.4",
"smart-whisper": "^0.8.1",
"tweetnacl": "^1.0.3",
"ws": "^8.21.0",
"zustand": "^4.5.7"
},
"devDependencies": {
"@electron/rebuild": "^4.2.0",
"@tailwindcss/vite": "^4.3.3",
"@types/node": "^26.1.1",
"@types/qrcode": "^1.5.6",
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^4.3.1",
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-search": "^0.16.0",
"@xterm/addon-webgl": "^0.19.0",
"@xterm/xterm": "^5.5.0",
"@xyflow/react": "^12.11.2",
"electron": "^42.7.1",
"electron-builder": "^26.15.3",
"electron-vite": "^5.0.0",
"esbuild": "^0.28.1",
"jsdom": "^30.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.35.3",
"tailwindcss": "^4.3.1",
"typescript": "^5.5.4",
"vite": "^7.3.6",
"vitest": "^4.1.10"
}
}