package.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "name": "main",
  3. "version": "1.0.0",
  4. "description": "一套基于vue3、element-plus、typesScript、vite4的后台集成方案。",
  5. "private": true,
  6. "type": "module",
  7. "scripts": {
  8. "i": "pnpm install",
  9. "dev": "pnpm vite --mode base",
  10. "ts:check": "pnpm vue-tsc --noEmit --skipLibCheck",
  11. "build:pro": "pnpm vite build --mode pro",
  12. "build:dev": "pnpm vite build --mode dev",
  13. "build:test": "pnpm vite build --mode test",
  14. "serve:pro": "pnpm vite preview --mode pro",
  15. "serve:dev": "pnpm vite preview --mode dev",
  16. "serve:test": "pnpm vite preview --mode test",
  17. "npm:check": "pnpx npm-check-updates -u",
  18. "clean": "pnpx rimraf node_modules",
  19. "clean:cache": "pnpx rimraf node_modules/.cache",
  20. "lint:eslint": "eslint . --fix \"src/**/*.{js,ts,tsx,vue,html}\"",
  21. "lint:format": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,vue,html,md}\"",
  22. "lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  23. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.cjs",
  24. "p": "plop"
  25. },
  26. "dependencies": {
  27. "@amap/amap-jsapi-loader": "^1.0.1",
  28. "@common/src": "workspace:^",
  29. "@common/utils": "workspace:^",
  30. "@element-plus/icons": "^0.0.11",
  31. "@element-plus/icons-vue": "^1.1.4",
  32. "@iconify/iconify": "^3.1.1",
  33. "@iconify/vue": "^4.1.2",
  34. "@vueuse/core": "^12.0.0",
  35. "@zxcvbn-ts/core": "^3.0.4",
  36. "animate.css": "^4.1.1",
  37. "axios": "^1.7.2",
  38. "bpmn-js": "^8.10.0",
  39. "bpmn-js-properties-panel": "^5.20.0",
  40. "bpmn-js-task-resize": "^1.2.0",
  41. "bpmn-js-token-simulation": "^0.10.0",
  42. "codemirror": "^5.64.0",
  43. "codemirror-editor-vue3": "^2.0.6",
  44. "cropperjs": "^1.6.2",
  45. "crypto-js": "^4.2.0",
  46. "dayjs": "^1.11.11",
  47. "diagram-js": "^14.8.0",
  48. "diagram-js-minimap": "^2.1.1",
  49. "driver.js": "^1.3.1",
  50. "element-plus": "2.9.2",
  51. "lodash-es": "^4.17.21",
  52. "marked": "^15.0.8",
  53. "min-dash": "^3.5.2",
  54. "mitt": "^3.0.1",
  55. "monaco-editor": "^0.50.0",
  56. "nprogress": "^0.2.0",
  57. "pinia": "^2.1.7",
  58. "pinia-plugin-persistedstate": "^3.2.1",
  59. "qs": "^6.12.3",
  60. "url": "^0.11.3",
  61. "uuid": "^9.0.1",
  62. "vue": "3.5.13",
  63. "vue-draggable-plus": "^0.5.3",
  64. "vue-i18n": "9.13.1",
  65. "vue-router": "^4.4.0",
  66. "vue-types": "^5.1.3",
  67. "xgplayer": "^3.0.18"
  68. },
  69. "devDependencies": {
  70. "@commitlint/cli": "^19.3.0",
  71. "@commitlint/config-conventional": "^19.2.2",
  72. "@iconify/json": "^2.2.229",
  73. "@intlify/unplugin-vue-i18n": "^4.0.0",
  74. "@types/codemirror": "5.60.5",
  75. "@types/fs-extra": "^11.0.4",
  76. "@types/inquirer": "^9.0.7",
  77. "@types/lodash-es": "^4.17.12",
  78. "@types/mockjs": "^1.0.10",
  79. "@types/node": "^20.14.11",
  80. "@types/nprogress": "^0.2.3",
  81. "@types/qs": "^6.9.15",
  82. "@types/sortablejs": "^1.15.8",
  83. "@typescript-eslint/eslint-plugin": "^7.16.1",
  84. "@typescript-eslint/parser": "^7.16.1",
  85. "@unocss/transformer-variant-group": "^0.61.5",
  86. "@vitejs/plugin-legacy": "^5.4.1",
  87. "@vitejs/plugin-vue": "^5.0.5",
  88. "@vitejs/plugin-vue-jsx": "^4.0.0",
  89. "autoprefixer": "^10.4.19",
  90. "chalk": "^5.3.0",
  91. "consola": "^3.2.3",
  92. "eslint": "^9.7.0",
  93. "eslint-config-prettier": "^9.1.0",
  94. "eslint-define-config": "^2.1.0",
  95. "eslint-plugin-prettier": "^5.2.1",
  96. "eslint-plugin-vue": "^9.27.0",
  97. "esno": "^4.7.0",
  98. "fs-extra": "^11.2.0",
  99. "globals": "^16.0.0",
  100. "inquirer": "^10.0.3",
  101. "less": "^4.2.0",
  102. "lint-staged": "^15.2.7",
  103. "mockjs": "^1.1.0",
  104. "plop": "^4.0.1",
  105. "postcss": "^8.4.39",
  106. "postcss-html": "^1.7.0",
  107. "postcss-less": "^6.0.0",
  108. "prettier": "^3.3.3",
  109. "rimraf": "^6.0.1",
  110. "rollup": "^4.18.1",
  111. "rollup-plugin-visualizer": "^5.12.0",
  112. "stylelint": "^16.7.0",
  113. "stylelint-config-html": "^1.1.0",
  114. "stylelint-config-recommended": "^14.0.1",
  115. "stylelint-config-standard": "^36.0.1",
  116. "stylelint-order": "^6.0.4",
  117. "terser": "^5.31.3",
  118. "typescript": "5.5.3",
  119. "typescript-eslint": "^7.16.1",
  120. "unocss": "^0.61.5",
  121. "unplugin-auto-import": "^0.18.3",
  122. "unplugin-vue-components": "^0.27.4",
  123. "vite": "5.4.11",
  124. "vite-plugin-compression": "^0.5.1",
  125. "vite-plugin-ejs": "^1.7.0",
  126. "vite-plugin-eslint": "^1.8.1",
  127. "vite-plugin-mock": "2.9.6",
  128. "vite-plugin-progress": "^0.0.7",
  129. "vite-plugin-purge-icons": "^0.10.0",
  130. "vite-plugin-style-import": "2.0.0",
  131. "vite-plugin-svg-icons": "^2.0.1",
  132. "vite-plugin-url-copy": "^1.1.4",
  133. "vue-tsc": "^2.0.26"
  134. },
  135. "packageManager": "pnpm@8.1.0",
  136. "engines": {
  137. "node": ">=18.0.0",
  138. "pnpm": ">=8.1.0"
  139. },
  140. "license": "MIT",
  141. "repository": {
  142. "type": "git",
  143. "url": "http://112.124.9.106:10300/one_health/web.git"
  144. }
  145. }