-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.09 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 3.09 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
{
"name": "sqltunnel",
"version": "1.1.1",
"private": true,
"author": "NemoAlex",
"description": "Node.js/TypeScript database connection gateway with optional SSH tunneling.",
"type": "module",
"main": "dist-electron/electron/main.js",
"bin": {
"sqltunnel": "dist/cli.js"
},
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "npm run build:core",
"build:core": "tsc -p tsconfig.json",
"build:electron": "tsc -p tsconfig.electron.json",
"build:renderer": "vite build",
"build:desktop": "npm run build:core && npm run build:electron && npm run build:renderer",
"desktop:dev": "npm run build:core && npm run build:electron && concurrently -k \"vite --host 127.0.0.1\" \"wait-on tcp:127.0.0.1:5173 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
"desktop:preview": "npm run build:desktop && electron .",
"dist:mac": "npm run build:desktop && electron-builder --mac --x64 --arm64",
"dist:win": "npm run build:desktop && electron-builder --win --x64",
"start": "node dist/index.js",
"test": "node --import tsx --test test/*.test.ts",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.electron.json --noEmit && tsc -p tsconfig.renderer.json"
},
"dependencies": {
"@fastify/sensible": "^6.0.4",
"@modelcontextprotocol/sdk": "^1.29.0",
"fastify": "^5.8.5",
"mysql2": "^3.11.3",
"pg": "^8.13.1",
"ssh2": "^1.16.0",
"yaml": "^2.6.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/node": "^24.13.3",
"@types/pg": "^8.11.10",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/ssh2": "^1.15.4",
"@vitejs/plugin-react": "^6.0.3",
"concurrently": "^10.0.3",
"cross-env": "^10.1.0",
"electron": "^43.1.0",
"electron-builder": "^26.15.3",
"lucide-react": "^1.24.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vite": "^8.1.4",
"wait-on": "^9.0.10"
},
"engines": {
"node": ">=20"
},
"build": {
"appId": "dev.nemo.sqltunnel",
"productName": "SQLTunnel",
"asar": true,
"npmRebuild": false,
"directories": {
"output": "release"
},
"files": [
"dist-electron/**/*",
"dist-renderer/**/*",
"docs/openapi.json",
"package.json"
],
"mac": {
"category": "public.app-category.developer-tools",
"icon": "assets/icon-1024-macos.png",
"artifactName": "${productName}-${version}-macOS-${arch}.${ext}",
"target": "dmg",
"hardenedRuntime": true
},
"win": {
"icon": "assets/icon-1024-macos.png",
"artifactName": "${productName}-${version}-Windows-${arch}.${ext}",
"target": "nsis"
},
"nsis": {
"artifactName": "${productName}-${version}-Windows-${arch}-Setup.${ext}",
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "SQLTunnel"
},
"dmg": {
"title": "SQLTunnel ${version}",
"sign": true
}
}
}