Files
pyminer/package.json
lixianglong 6edd51111f 修改pymienr 为electron框架
Signed-off-by: lixianglong <lixianglong@pyminer.com>
2025-12-03 21:55:03 +08:00

144 lines
3.8 KiB
JSON

{
"name": "pyminer",
"private": true,
"version": "3.0.1",
"productName": "pyminer",
"main": "src/main/index.js",
"type": "commonjs",
"repository": {
"type": "git",
"url": "https://github.com/pyminer/pyminer"
},
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"electron-dev": "concurrently \"cross-env NODE_ENV=development npm run dev\" \"wait-on tcp:5173 && cross-env NODE_ENV=development electron .\"",
"electron-pack": "npm run build && electron-builder",
"preelectron-pack": "npm run build"
},
"dependencies": {
"@ant-design/icons": "^6.1.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@jupyterlab/services": "^7.5.0",
"@monaco-editor/react": "^4.7.0",
"@mui/icons-material": "^7.3.5",
"@mui/material": "^7.3.5",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-image": "^0.8.0",
"@xterm/addon-search": "^0.15.0",
"@xterm/addon-serialize": "^0.13.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/xterm": "^5.5.0",
"@xyflow/react": "^12.9.2",
"antd": "^6.0.0",
"axios": "^1.13.2",
"copy-to-clipboard": "^3.3.3",
"dockview": "^4.11.0",
"dockview-react": "^4.11.0",
"electron-is-dev": "^3.0.1",
"electron-store": "^11.0.2",
"highlight.js": "^11.11.1",
"i18next": "^23.16.8",
"monaco-editor": "^0.54.0",
"monaco-editor-esm-webpack-plugin": "^2.1.0",
"monaco-editor-webpack-plugin": "^7.1.1",
"node-fetch": "^3.3.2",
"react": "^19.2.0",
"react-arborist": "^3.4.3",
"react-complex-tree": "^2.6.1",
"react-dom": "^19.2.0",
"react-i18next": "^13.5.0",
"react-icons": "^5.5.0",
"react-pdf": "^10.2.0",
"react-router-dom": "^7.9.5",
"react-sortablejs": "^6.1.4",
"react-zoom-pan-pinch": "^3.7.0",
"sql-formatter": "^15.6.10",
"systeminformation": "^5.27.11",
"uuid": "^13.0.0",
"vscode-icons-js": "^11.6.1",
"ws": "^8.18.3",
"zustand": "^5.0.8"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@types/node": "^24.10.1",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^5.0.4",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^39.2.4",
"electron-builder": "^26.0.12",
"electron-debug": "^4.1.0",
"eslint": "^9.36.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.22",
"globals": "^16.4.0",
"is-electron": "^2.2.2",
"typescript": "~5.9.3",
"typescript-eslint": "^8.45.0",
"vite": "^7.2.2",
"vite-plugin-monaco-editor": "^1.1.0",
"wait-on": "^9.0.1"
},
"build": {
"appId": "com.pyminer.app",
"productName": "pyminer 数据平台",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"src/main/**/*",
"package.json",
"public/**/*",
"public/preload.js",
"public/store.js"
],
"extraResources": [
{
"from": "public",
"to": "public",
"filter": [
"**/*"
]
},
{
"from": "extensions",
"to": "extensions",
"filter": [
"**/*",
"!python/**/*"
]
}
],
"win": {
"target": [
{
"target": "dir",
"arch": [
"x64"
]
}
],
"icon": "public/logo.ico",
"artifactName": "${productName}_Setup_${version}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "pyminer 数据平台",
"deleteAppDataOnUninstall": true
}
}
}