package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. {
  2. "main": "electron/main.mjs",
  3. "name": "meet-admin",
  4. "type": "module",
  5. "version": "0.0.1",
  6. "private": true,
  7. "description": "meet-admin open source management system",
  8. "author": {
  9. "name": "Meet you"
  10. },
  11. "license": "MIT",
  12. "keywords": [
  13. "admin",
  14. "meet-admin",
  15. "element-plus",
  16. "unocss",
  17. "typescript",
  18. "pinia",
  19. "vue3",
  20. "vue.js",
  21. "vite",
  22. "esm",
  23. "vueuse",
  24. "a-calc",
  25. "dayjs",
  26. "localforage",
  27. "lodash-es",
  28. "vue-draggable-plus",
  29. "axios",
  30. "nprogress"
  31. ],
  32. "engines": {
  33. "node": ">=20",
  34. "pnpm": ">=9"
  35. },
  36. "scripts": {
  37. "dev": "vite --mode dev",
  38. "dev:test": "vite --mode test",
  39. "dev:prod": "vite --mode prod",
  40. "build": "vite build --mode prod",
  41. "preview": "vite preview",
  42. "type-check": "vue-tsc --build --force",
  43. "lint": "eslint .",
  44. "lint:fix": "eslint . --fix",
  45. "commit": "czg",
  46. "prepare": "husky",
  47. "electron:start": "cross-env NODE_ENV=development electron .",
  48. "electron:dev": "run-p dev electron:start",
  49. "electron:build": "cross-env NODE_ENV=production vite build --mode prod && npx electron-builder"
  50. },
  51. "dependencies": {
  52. "@element-plus/icons-vue": "^2.3.2",
  53. "@iconify-icons/icon-park-outline": "^1.2.11",
  54. "@unocss/reset": "^0.63.4",
  55. "@vueuse/core": "^11.1.0",
  56. "a-calc": "^2.2.10",
  57. "axios": "^1.7.7",
  58. "csstype": "^3.1.3",
  59. "dayjs": "^1.11.13",
  60. "echarts": "^5.6.0",
  61. "echarts-gl": "^2.0.9",
  62. "element-plus": "^2.9.2",
  63. "encoding-japanese": "^2.2.0",
  64. "file-saver": "^2.0.5",
  65. "gsap": "^3.12.5",
  66. "idb": "^8.0.3",
  67. "localforage": "^1.10.0",
  68. "lodash-es": "^4.17.21",
  69. "mitt": "^3.0.1",
  70. "nprogress": "^0.2.0",
  71. "papaparse": "^5.5.2",
  72. "pinia": "^3.0.3",
  73. "pinia-plugin-persistedstate": "^4.5.0",
  74. "qs": "^6.13.0",
  75. "screenfull": "^6.0.2",
  76. "version-rocket": "^1.7.4",
  77. "vue": "^3.5.12",
  78. "vue-draggable-plus": "^0.5.4",
  79. "vue-i18n": "^10.0.4",
  80. "vue-router": "^4.4.5",
  81. "xlsx": "^0.18.5"
  82. },
  83. "devDependencies": {
  84. "@antfu/eslint-config": "^3.8.0",
  85. "@commitlint/cli": "^19.5.0",
  86. "@commitlint/config-conventional": "^19.5.0",
  87. "@iconify/types": "^2.0.0",
  88. "@iconify/vue": "^4.3.0",
  89. "@intlify/unplugin-vue-i18n": "^5.2.0",
  90. "@tsconfig/node20": "^20.1.4",
  91. "@types/lodash-es": "^4.17.12",
  92. "@types/node": "^20.16.13",
  93. "@types/nprogress": "^0.2.3",
  94. "@types/qs": "^6.9.16",
  95. "@unocss/eslint-plugin": "^0.63.4",
  96. "@unocss/preset-rem-to-px": "^0.63.4",
  97. "@vicons/ionicons5": "^0.12.0",
  98. "@vitejs/plugin-vue": "^5.1.4",
  99. "@vitejs/plugin-vue-jsx": "^4.0.1",
  100. "@vue/tsconfig": "^0.5.1",
  101. "cross-env": "^7.0.3",
  102. "cz-git": "^1.10.1",
  103. "czg": "^1.10.1",
  104. "electron": "^35.0.1",
  105. "electron-builder": "^25.1.8",
  106. "eslint": "^9.13.0",
  107. "husky": "^9.1.6",
  108. "lint-staged": "^15.2.10",
  109. "npm-run-all": "^4.1.5",
  110. "sass": "^1.80.3",
  111. "typescript": "~5.6.3",
  112. "unocss": "^0.63.4",
  113. "unplugin-auto-import": "^0.18.3",
  114. "unplugin-vue-components": "^0.27.5",
  115. "vite": "^5.4.9",
  116. "vite-plugin-compression": "^0.5.1",
  117. "vue-tsc": "^2.1.6"
  118. },
  119. "build": {
  120. "appId": "com.example.meet-admin",
  121. "productName": "叶片引下线故障检测平台",
  122. "directories": {
  123. "output": "dist_electron/thunderstrike"
  124. },
  125. "files": [
  126. "dist/**/*",
  127. "electron/main.mjs",
  128. "electron/preload.mjs",
  129. "electron/**/*",
  130. "serves/**/*",
  131. "libs/**/*"
  132. ],
  133. "extraFiles": [
  134. {
  135. "from": "electron/libs",
  136. "to": "libs",
  137. "filter": [
  138. "**/*"
  139. ]
  140. }
  141. ],
  142. "asar": true,
  143. "asarUnpack": [
  144. "serves/dist/api_test.exe"
  145. ],
  146. "nsis": {
  147. "oneClick": false,
  148. "allowToChangeInstallationDirectory": true,
  149. "createDesktopShortcut": true,
  150. "createStartMenuShortcut": true,
  151. "shortcutName": "叶片引下线故障检测平台"
  152. },
  153. "win": {
  154. "target": "nsis",
  155. "icon": "src/assets/images/icon.png",
  156. "artifactName": "${productName}-${version}-${arch}-setup.${ext}"
  157. },
  158. "mac": {
  159. "target": [
  160. "dmg",
  161. "zip"
  162. ],
  163. "icon": "src/assets/images/icon.jpg",
  164. "hardenedRuntime": true,
  165. "gatekeeperAssess": false
  166. },
  167. "linux": {
  168. "target": [
  169. "AppImage",
  170. "deb"
  171. ],
  172. "icon": "src/assets/images/icon.jpg",
  173. "category": "Utility"
  174. }
  175. }
  176. }