- Add folder selection button in UI - Add Electron main process with IPC handlers - Support --port and --docs command line arguments - Support --headless mode for headless service - Add portable exe build configuration
68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
{
|
|
"name": "xcengine-api-docs",
|
|
"version": "1.0.0",
|
|
"description": "XCSDD - API Docs & 3D Blueprint Viewer",
|
|
"author": "XCSDD",
|
|
"main": "electron/main.mjs",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"electron:dev": "vite build && electron .",
|
|
"electron:build": "vite build && electron-builder --win --x64",
|
|
"electron:start": "electron ."
|
|
},
|
|
"dependencies": {
|
|
"@react-three/drei": "^10.7.7",
|
|
"@react-three/fiber": "^9.5.0",
|
|
"clsx": "^2.1.1",
|
|
"lucide-react": "^0.511.0",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"tailwind-merge": "^3.5.0",
|
|
"three": "^0.183.2",
|
|
"zustand": "^5.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@tailwindcss/postcss": "^4.2.1",
|
|
"@types/node": "^24.12.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/three": "^0.183.1",
|
|
"@vitejs/plugin-react": "^6.0.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"electron": "^33.4.0",
|
|
"electron-builder": "^25.1.8",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^17.4.0",
|
|
"postcss": "^8.5.8",
|
|
"tailwindcss": "^4.2.1",
|
|
"typescript": "~5.9.3",
|
|
"typescript-eslint": "^8.56.1",
|
|
"vite": "^8.0.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.xuanchi.xcsdd",
|
|
"productName": "XCSDD",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"electron/**/*",
|
|
"package.json"
|
|
],
|
|
"win": {
|
|
"target": "portable"
|
|
},
|
|
"portable": {
|
|
"artifactName": "XCSDD.exe"
|
|
}
|
|
}
|
|
}
|