-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.35 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.35 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
{
"name": "kcode",
"version": "0.1.5",
"private": true,
"author": {
"name": "KCode",
"email": "1181958464@qq.com"
},
"description": "A multi-provider desktop coding agent",
"main": "dist-electron/electron/main.js",
"scripts": {
"dev": "concurrently -k \"vite --host 127.0.0.1\" \"wait-on http://127.0.0.1:5173 && electron .\"",
"build": "tsc -b && vite build && tsc -p electron/tsconfig.json",
"start": "electron .",
"typecheck": "tsc -b --pretty false && tsc -p electron/tsconfig.json --pretty false",
"test": "node scripts/run-tests.mjs",
"icons": "node scripts/generate-icons.mjs",
"dist:win": "npm run icons && npm run build && electron-builder --win nsis --publish never",
"dist:mac": "npm run icons && npm run build && electron-builder --mac dmg zip --publish never",
"dist:linux": "npm run icons && npm run build && electron-builder --linux AppImage deb --publish never",
"release:win": "npm run dist:win -- --publish always"
},
"build": {
"appId": "com.kcode.desktop",
"productName": "KCode",
"asar": true,
"asarUnpack": [
"node_modules/@vscode/ripgrep-*/bin/**"
],
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"package.json"
],
"extraResources": [
{
"from": "80f2649b913c028210842f9ffd752179.png",
"to": "80f2649b913c028210842f9ffd752179.png"
},
{
"from": "build/icon.ico",
"to": "icon.ico"
},
{
"from": "skills",
"to": "skills"
}
],
"win": {
"icon": "build/icon.ico",
"target": "nsis"
},
"mac": {
"icon": "build/icon.png",
"target": [
"dmg",
"zip"
],
"category": "public.app-category.developer-tools"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Development",
"executableName": "kcode",
"maintainer": "KCode <1181958464@qq.com>"
},
"nsis": {
"artifactName": "KCode-${version}-setup.${ext}",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "KCode"
},
"publish": {
"provider": "github",
"owner": "kk1181958464",
"repo": "kcode",
"releaseType": "release"
}
},
"dependencies": {
"@vitejs/plugin-react": "^6.0.3",
"@vscode/ripgrep": "^1.18.0",
"diff": "^9.0.0",
"electron-updater": "^6.8.9",
"lucide-react": "^1.24.0",
"minimatch": "^10.2.5",
"mongodb": "^7.5.0",
"mssql": "^12.7.0",
"mysql2": "^3.22.6",
"node-sql-parser": "^5.4.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-markdown": "^10.1.0",
"react-virtuoso": "4.18.11",
"remark-gfm": "^4.0.1",
"ssh2": "^1.17.0",
"vite": "^8.1.4",
"yaml": "^2.9.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/mssql": "^12.3.0",
"@types/node": "^26.1.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/ssh2": "^1.15.5",
"concurrently": "^10.0.3",
"electron": "^43.1.0",
"electron-builder": "^26.15.3",
"png-to-ico": "^3.0.2",
"prettier": "^3.9.5",
"sharp": "^0.35.3",
"tsx": "^4.23.0",
"typescript": "^7.0.2",
"wait-on": "^9.0.10"
}
}