Added a new "View Reports" button to the CleanerPage which opens a new ReportViewerDialog. This dialog lists all available execution reports stored in S3 for the current user, or for all users if the current user is an admin. The reports are downloaded as Markdown and rendered using react-markdown. Added three new IPC channels to fetch and download reports using the existing RustfsService and S3Client. Co-authored-by: luwamgere15-crypto <255338376+luwamgere15-crypto@users.noreply.github.com>
90 lines
3.4 KiB
JSON
90 lines
3.4 KiB
JSON
{
|
|
"name": "erpauto",
|
|
"version": "1.2.0",
|
|
"description": "An Electron application with React and TypeScript",
|
|
"main": "./out/main/index.js",
|
|
"author": "example.com",
|
|
"homepage": "https://electron-vite.org",
|
|
"scripts": {
|
|
"format": "prettier --write .",
|
|
"lint": "eslint --cache .",
|
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
|
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
|
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
|
"start": "electron-vite preview",
|
|
"dev": "chcp 65001 && electron-vite dev",
|
|
"build": "chcp 65001 && npm run typecheck && electron-vite build",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"build:unpack": "chcp 65001 && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && npm run build && electron-builder --dir",
|
|
"build:win": "chcp 65001 && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && npm run prebuild && npm run build && electron-builder --win",
|
|
"build:mac": "chcp 65001 && npm run prebuild && electron-vite build && electron-builder --mac",
|
|
"build:linux": "chcp 65001 && npm run prebuild && electron-vite build && electron-builder --linux",
|
|
"prebuild": "node -e \"const fs=require('fs');['dist','out'].forEach(d=>{try{fs.rmSync(d,{recursive:true})}catch(e){}})\"",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:report": "playwright show-report",
|
|
"debug:erp-login": "tsx src/main/tools/erp-login-debug.ts",
|
|
"debug:config-path": "tsx src/main/tools/config-path-debug.ts",
|
|
"test:rustfs": "tsx src/main/tools/rustfs-test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.929.0",
|
|
"@electron-toolkit/preload": "^3.0.2",
|
|
"@electron-toolkit/utils": "^4.0.0",
|
|
"@tailwindcss/vite": "^4.2.1",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"chromium-bidi": "^15.0.0",
|
|
"date-fns": "^4.1.0",
|
|
"exceljs": "^4.4.0",
|
|
"js-yaml": "^4.1.1",
|
|
"lucide-react": "^0.575.0",
|
|
"mssql": "^12.2.0",
|
|
"mysql2": "^3.18.2",
|
|
"playwright": "^1.58.2",
|
|
"playwright-core": "^1.58.2",
|
|
"react-focus-lock": "^2.13.7",
|
|
"react-markdown": "^10.1.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"remark-gfm": "^4.0.1",
|
|
"typeorm": "^0.3.28",
|
|
"uuid": "^13.0.0",
|
|
"winston": "^3.19.0",
|
|
"winston-daily-rotate-file": "^5.0.0",
|
|
"zod": "^4.3.6",
|
|
"zustand": "^5.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
|
|
"@electron-toolkit/eslint-config-ts": "^3.1.0",
|
|
"@electron-toolkit/tsconfig": "^2.0.0",
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/mssql": "^9.1.9",
|
|
"@types/node": "^22.19.13",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/uuid": "^10.0.0",
|
|
"@vitejs/plugin-react": "^5.1.1",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"autoprefixer": "^10.4.27",
|
|
"electron": "^39.2.6",
|
|
"electron-builder": "^26.0.12",
|
|
"electron-vite": "^5.0.0",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"postcss": "^8.5.6",
|
|
"prettier": "^3.7.4",
|
|
"react": "^19.2.1",
|
|
"react-dom": "^19.2.1",
|
|
"tailwindcss": "^4.2.1",
|
|
"tsx": "^4.19.3",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.2.6",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|