package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "name": "web-medical",
  3. "version": "1.0.0",
  4. "private": true,
  5. "type": "module",
  6. "scripts": {
  7. "preinstall": "npx only-allow pnpm",
  8. "dev": "vite serve --mode development",
  9. "build:prod": "vite build --mode production && vue-tsc --noEmit",
  10. "prepare": "husky",
  11. "lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ",
  12. "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
  13. "lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
  14. "lint:lint-staged": "lint-staged"
  15. },
  16. "config": {
  17. "commitizen": {
  18. "path": "node_modules/cz-git"
  19. }
  20. },
  21. "lint-staged": {
  22. "*.{js,ts}": [
  23. "eslint --fix",
  24. "prettier --write"
  25. ],
  26. "*.{cjs,json}": [
  27. "prettier --write"
  28. ],
  29. "*.{vue,html}": [
  30. "eslint --fix",
  31. "prettier --write",
  32. "stylelint --fix"
  33. ],
  34. "*.{scss,css}": [
  35. "stylelint --fix",
  36. "prettier --write"
  37. ],
  38. "*.md": [
  39. "prettier --write"
  40. ]
  41. },
  42. "dependencies": {
  43. "@element-plus/icons-vue": "^2.3.1",
  44. "@vueuse/core": "^10.9.0",
  45. "@wangeditor/editor": "^5.1.23",
  46. "@wangeditor/editor-for-vue": "5.1.10",
  47. "animate.css": "^4.1.1",
  48. "axios": "^1.6.8",
  49. "dayjs": "^1.11.10",
  50. "decimal.js": "^10.4.3",
  51. "echarts": "^5.5.0",
  52. "element-plus": "^2.6.3",
  53. "lodash-es": "^4.17.21",
  54. "mitt": "^3.0.1",
  55. "net": "^1.0.2",
  56. "nprogress": "^0.2.0",
  57. "path-browserify": "^1.0.1",
  58. "path-to-regexp": "^6.2.2",
  59. "pinia": "^2.1.7",
  60. "sockjs-client": "1.6.1",
  61. "sortablejs": "^1.15.2",
  62. "stompjs": "^2.3.3",
  63. "vue": "^3.4.21",
  64. "vue-countup-v3": "^1.4.2",
  65. "vue-fluid-dnd": "^0.6.14",
  66. "vue-i18n": "9.9.1",
  67. "vue-router": "^4.3.0",
  68. "vue3-emoji-picker": "^1.1.8",
  69. "xlsx": "^0.18.5"
  70. },
  71. "devDependencies": {
  72. "@commitlint/cli": "^18.6.1",
  73. "@commitlint/config-conventional": "^18.6.3",
  74. "@iconify-json/ep": "^1.1.15",
  75. "@types/lodash": "^4.17.0",
  76. "@types/node": "^20.12.5",
  77. "@types/nprogress": "^0.2.3",
  78. "@types/path-browserify": "^1.0.2",
  79. "@types/sockjs-client": "^1.5.4",
  80. "@types/sortablejs": "^1.15.8",
  81. "@types/stompjs": "^2.3.9",
  82. "@typescript-eslint/eslint-plugin": "^7.5.0",
  83. "@typescript-eslint/parser": "^7.5.0",
  84. "@vitejs/plugin-vue": "^5.0.4",
  85. "@vitejs/plugin-vue-jsx": "^3.1.0",
  86. "autoprefixer": "^10.4.19",
  87. "commitizen": "^4.3.0",
  88. "cz-git": "^1.9.1",
  89. "eslint": "^8.57.0",
  90. "eslint-config-prettier": "^9.1.0",
  91. "eslint-plugin-import": "^2.29.1",
  92. "eslint-plugin-prettier": "^5.1.3",
  93. "eslint-plugin-vue": "^9.24.0",
  94. "fast-glob": "^3.3.2",
  95. "husky": "^9.0.11",
  96. "lint-staged": "^15.2.2",
  97. "postcss": "^8.4.38",
  98. "postcss-html": "^1.6.0",
  99. "postcss-scss": "^4.0.9",
  100. "prettier": "^3.2.5",
  101. "sass": "^1.74.1",
  102. "stylelint": "^16.3.1",
  103. "stylelint-config-html": "^1.1.0",
  104. "stylelint-config-recess-order": "^4.6.0",
  105. "stylelint-config-recommended-scss": "^14.0.0",
  106. "stylelint-config-recommended-vue": "^1.5.0",
  107. "stylelint-config-standard": "^36.0.0",
  108. "terser": "^5.30.3",
  109. "typescript": "^5.4.4",
  110. "unocss": "^0.58.9",
  111. "unplugin-auto-import": "^0.17.5",
  112. "unplugin-icons": "^0.18.5",
  113. "unplugin-vue-components": "^0.26.0",
  114. "vite": "^5.2.8",
  115. "vite-plugin-mock-dev-server": "^1.5.0",
  116. "vite-plugin-svg-icons": "^2.0.1",
  117. "vue-tsc": "^2.0.11"
  118. },
  119. "repository": "https://",
  120. "author": "www.jueming.com",
  121. "license": "MIT",
  122. "engines": {
  123. "node": ">=18.0.0"
  124. }
  125. }