You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
3.8 KiB
142 lines
3.8 KiB
{
|
|
"name": "peis-vue",
|
|
"private": true,
|
|
"version": "0.4.0",
|
|
"main": "electron/background.js",
|
|
"maintainers": [
|
|
"长沙神豚科技有限公司"
|
|
],
|
|
"author": {
|
|
"name": "长沙神豚科技有限公司"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint -c .eslintrc --ext .ts ./src",
|
|
"build-icon": "electron-icon-builder --input=./public/logo_png.png --output=public --flatten",
|
|
"build-icon-pacs": "electron-icon-builder --input=./public/NotoCatFace.png --output=public/pacs --flatten",
|
|
"electron:serve": "chcp 65001 && cross-env NODE_ENV=development vite --config vite.config.electron.ts",
|
|
"electron:build": "rimraf dist && vue-tsc && vite build --config vite.config.electron.ts && cross-env NODE_ENV=production electron-builder"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.1.0",
|
|
"@unhead/vue": "^1.8.3",
|
|
"axios": "^1.6.1",
|
|
"cross-env": "^7.0.3",
|
|
"electron-edge-js": "^22.0.1",
|
|
"electron-log": "^5.0.0",
|
|
"electron-updater": "^6.1.4",
|
|
"element-plus": "^2.4.2",
|
|
"http-server": "^14.1.1",
|
|
"moment": "^2.29.4",
|
|
"vue": "^3.3.4",
|
|
"vue-pdf-embed": "^1.2.1",
|
|
"vue-router": "^4.2.5",
|
|
"vue3-pdfjs": "^0.1.6",
|
|
"vuex": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/ ": "^20.9.0",
|
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
"electron": "^22.0.0",
|
|
"electron-builder": "^24.4.0",
|
|
"electron-devtools-installer": "^3.2.0",
|
|
"electron-icon-builder": "^2.0.1",
|
|
"eslint": "^8.54.0",
|
|
"prettier": "^3.1.0",
|
|
"rimraf": "^5.0.5",
|
|
"tree-kill": "^1.2.2",
|
|
"typescript": "^5.0.2",
|
|
"vite": "^4.4.5",
|
|
"vite-plugin-copy": "^0.1.6",
|
|
"vite-plugin-electron": "^0.15.4",
|
|
"vite-plugin-electron-renderer": "^0.14.5",
|
|
"vue-tsc": "^1.8.5"
|
|
},
|
|
"build": {
|
|
"appId": "com.shentun.desktop",
|
|
"productName": "shentun",
|
|
"copyright": "Copyright © 2022 shentun",
|
|
"compression": "maximum",
|
|
"asar": false,
|
|
"extraResources": [
|
|
{
|
|
"from": "./config/",
|
|
"to": "./app/config/"
|
|
},
|
|
{
|
|
"from": "./extensions/",
|
|
"to": "./app/extensions/"
|
|
},
|
|
{
|
|
"from":"./extensions/fastReport/FastReport.dll",
|
|
"to":".."
|
|
},
|
|
{
|
|
"from":"./extensions/fastReport/FastReport.Bars.dll",
|
|
"to":".."
|
|
},
|
|
{
|
|
"from":"./extensions/fastReport/FastReport.Editor.dll",
|
|
"to":".."
|
|
},
|
|
{
|
|
"from": "node_modules/electron/dist/resources/locales/en-US.pak",
|
|
"to": "../locales"
|
|
},
|
|
{
|
|
"from": "node_modules/electron/dist/resources/locales/zh-CN.pak",
|
|
"to": "../locales"
|
|
}
|
|
],
|
|
"directories": {
|
|
"buildResources": "assets",
|
|
"output": "release/${version}"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"electron/**/*",
|
|
"!**/node_modules/electron/dist/resources/locales",
|
|
"!**/node_modules/electron/dist/resources/*.pak"
|
|
],
|
|
"publish": [
|
|
{
|
|
"provider": "generic",
|
|
"url": ""
|
|
}
|
|
],
|
|
"mac": {
|
|
"icon": "public/icons/icon.icns",
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
"target": [
|
|
"dmg"
|
|
]
|
|
},
|
|
"win": {
|
|
"icon": "public/icons/icon.ico",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"ia32"
|
|
]
|
|
}
|
|
],
|
|
"artifactName": "${productName}_${version}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"perMachine": true,
|
|
"allowElevation": true,
|
|
"deleteAppDataOnUninstall": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "红豚体检"
|
|
},
|
|
"releaseInfo": {
|
|
"releaseNotes": "增加报表、读卡、摄像头拍照接口"
|
|
}
|
|
}
|
|
}
|