Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.26 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
{
"name": "termina",
"version": "0.1.0",
"description": "Desktop IDE for Termina",
"author": "Termina",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/yazanbaker94/Termina"
},
"main": "dist-electron/main.js",
"scripts": {
"dev": "npm run build:electron && concurrently -k -n vite,electron \"vite\" \"wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .\"",
"dev:renderer": "vite",
"build:electron": "tsc -p tsconfig.electron.json",
"build:renderer": "tsc -p tsconfig.json --noEmit && vite build",
"build": "npm run build:electron && npm run build:renderer",
"start": "electron .",
"preview": "vite preview",
"package": "npm run build && electron-builder --win --dir",
"dist": "npm run build && electron-builder --win",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.electron.json --noEmit"
},
"build": {
"appId": "ai.termina.app",
"productName": "Termina",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"package.json"
],
"win": {
"target": "nsis",
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"npmRebuild": true,
"asarUnpack": [
"node_modules/node-pty/**/*"
]
},
"dependencies": {
"@monaco-editor/react": "^4.6.0",
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"chokidar": "^4.0.3",
"lucide-react": "^0.460.0",
"monaco-editor": "^0.55.1",
"node-pty": "^1.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/ui": "^4.1.9",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"electron": "^33.2.1",
"electron-builder": "^26.15.3",
"jsdom": "^29.1.1",
"typescript": "^5.6.3",
"vite": "^6.0.1",
"vitest": "^4.1.9",
"wait-on": "^8.0.1"
}
}