package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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.1",
  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. "element-plus": "^2.9.2",
  62. "file-saver": "^2.0.5",
  63. "gsap": "^3.12.5",
  64. "localforage": "^1.10.0",
  65. "lodash-es": "^4.17.21",
  66. "mitt": "^3.0.1",
  67. "nprogress": "^0.2.0",
  68. "papaparse": "^5.5.2",
  69. "pinia": "^2.2.4",
  70. "pinia-plugin-persistedstate": "^4.1.1",
  71. "qs": "^6.13.0",
  72. "screenfull": "^6.0.2",
  73. "version-rocket": "^1.7.4",
  74. "vue": "^3.5.12",
  75. "vue-draggable-plus": "^0.5.4",
  76. "vue-i18n": "^10.0.4",
  77. "vue-router": "^4.4.5",
  78. "xlsx": "^0.18.5"
  79. },
  80. "devDependencies": {
  81. "@antfu/eslint-config": "^3.8.0",
  82. "@commitlint/cli": "^19.5.0",
  83. "@commitlint/config-conventional": "^19.5.0",
  84. "@iconify/types": "^2.0.0",
  85. "@iconify/vue": "^4.3.0",
  86. "@intlify/unplugin-vue-i18n": "^5.2.0",
  87. "@tsconfig/node20": "^20.1.4",
  88. "@types/lodash-es": "^4.17.12",
  89. "@types/node": "^20.16.13",
  90. "@types/nprogress": "^0.2.3",
  91. "@types/qs": "^6.9.16",
  92. "@unocss/eslint-plugin": "^0.63.4",
  93. "@unocss/preset-rem-to-px": "^0.63.4",
  94. "@vicons/ionicons5": "^0.12.0",
  95. "@vitejs/plugin-vue": "^5.1.4",
  96. "@vitejs/plugin-vue-jsx": "^4.0.1",
  97. "@vue/tsconfig": "^0.5.1",
  98. "cross-env": "^7.0.3",
  99. "cz-git": "^1.10.1",
  100. "czg": "^1.10.1",
  101. "electron": "^35.0.1",
  102. "electron-builder": "^25.1.8",
  103. "eslint": "^9.13.0",
  104. "husky": "^9.1.6",
  105. "lint-staged": "^15.2.10",
  106. "npm-run-all": "^4.1.5",
  107. "sass": "^1.80.3",
  108. "typescript": "~5.6.3",
  109. "unocss": "^0.63.4",
  110. "unplugin-auto-import": "^0.18.3",
  111. "unplugin-vue-components": "^0.27.5",
  112. "vite": "^5.4.9",
  113. "vite-plugin-compression": "^0.5.1",
  114. "vue-tsc": "^2.1.6"
  115. },
  116. "build": {
  117. "appId": "com.example.meet-admin",
  118. "productName": "激光测距仪",
  119. "directories": {
  120. "output": "dist_electron"
  121. },
  122. "files": [
  123. "dist/**/*",
  124. "electron/main.mjs",
  125. "electron/preload.mjs",
  126. "electron/**/*",
  127. "serves/**/*",
  128. "libs/**/*"
  129. ],
  130. "extraFiles": [
  131. {
  132. "from": "electron/libs",
  133. "to": "libs",
  134. "filter": [
  135. "**/*"
  136. ]
  137. }
  138. ],
  139. "asar": true,
  140. "asarUnpack": [
  141. "serves/dist/api_test.exe"
  142. ],
  143. "nsis": {
  144. "oneClick": false,
  145. "allowToChangeInstallationDirectory": true,
  146. "createDesktopShortcut": true,
  147. "createStartMenuShortcut": true,
  148. "shortcutName": "激光测距仪"
  149. },
  150. "win": {
  151. "target": "nsis",
  152. "icon": "src/assets/images/login/bg.png",
  153. "artifactName": "${productName}-${version}-setup.${ext}"
  154. },
  155. "mac": {
  156. "target": [
  157. "dmg",
  158. "zip"
  159. ],
  160. "icon": "src/assets/images/login/bg.png",
  161. "hardenedRuntime": true,
  162. "gatekeeperAssess": false
  163. },
  164. "linux": {
  165. "target": [
  166. "AppImage",
  167. "deb"
  168. ],
  169. "icon": "src/assets/images/login/bg.png",
  170. "category": "Utility"
  171. }
  172. }
  173. }