다운로드 화면 추가 및 full exe 추가

This commit is contained in:
backuppc
2026-01-21 09:31:31 +09:00
parent a1a1971a1f
commit c5e7ec8436
8 changed files with 1894 additions and 191 deletions

View File

@@ -3,9 +3,13 @@
"private": true,
"version": "0.0.0",
"type": "module",
"bin": "backend_proxy.cjs",
"scripts": {
"dev": "vite",
"build": "pkg backend_proxy.cjs --targets node18-win-x64 --output public/webftp-backend.exe && vite build",
"clean": "rimraf public/webftp.exe public/webftp-backend.exe dist/webftp.exe dist/webftp-backend.exe",
"build": "npm run clean && vite build && npm run build:backend && npm run build:full",
"build:full": "pkg . --output ./public/webftp.exe",
"build:backend": "pkg backend_proxy.cjs --targets node18-win-x64 --output ./public/webftp-backend.exe",
"preview": "vite preview",
"proxy": "node backend_proxy.cjs"
},
@@ -21,7 +25,17 @@
"@types/node": "^22.14.0",
"@vitejs/plugin-react": "^5.0.0",
"pkg": "^5.8.1",
"rimraf": "^6.1.2",
"typescript": "~5.8.2",
"vite": "^6.2.0"
},
"pkg": {
"scripts": "backend_proxy.cjs",
"assets": [
"dist/**/*"
],
"targets": [
"node18-win-x64"
]
}
}