101 lines
3.7 KiB
JSON
101 lines
3.7 KiB
JSON
{
|
|
"name": "erpauto",
|
|
"version": "1.14.1",
|
|
"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:updater": "node scripts/compile-updater.js",
|
|
"build:unpack": "chcp 65001 && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && npm run build:updater && npm run build && electron-builder --dir",
|
|
"build:win": "chcp 65001 && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && npm run prebuild && npm run build && npm run build:updater && electron-builder --win",
|
|
"release:prepare": "node scripts/prepare-release.js",
|
|
"release:publish": "node scripts/publish-release.js",
|
|
"release:upload": "node scripts/upload-release.js",
|
|
"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",
|
|
"@datalust/winston-seq": "^3.0.1",
|
|
"@electron-toolkit/preload": "^3.0.2",
|
|
"@electron-toolkit/utils": "^4.0.0",
|
|
"@headlessui/react": "^2.2.9",
|
|
"@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",
|
|
"github-markdown-css": "^5.9.0",
|
|
"js-yaml": "^4.1.1",
|
|
"lucide-react": "^0.575.0",
|
|
"mssql": "^12.2.0",
|
|
"mysql2": "^3.18.2",
|
|
"pg": "^8.20.0",
|
|
"playwright": "^1.58.2",
|
|
"playwright-core": "^1.58.2",
|
|
"react-focus-lock": "^2.13.7",
|
|
"react-markdown": "^10.1.0",
|
|
"recharts": "^3.8.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-highlight": "^7.0.2",
|
|
"rehype-slug": "^6.0.0",
|
|
"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/pg": "^8.20.0",
|
|
"@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"
|
|
}
|
|
}
|