package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. "name": "认知和语言障碍评估训练系统",
  3. "version": "1.0.5",
  4. "private": true,
  5. "type": "module",
  6. "scripts": {
  7. "dev": "vite",
  8. "build": "vue-tsc --noEmit & vite build",
  9. "preview": "vite preview",
  10. "build-only": "vite build",
  11. "type-check": "vue-tsc --noEmit",
  12. "lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ",
  13. "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
  14. "lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
  15. "lint:lint-staged": "lint-staged",
  16. "preinstall": "npx only-allow pnpm",
  17. "prepare": "husky",
  18. "commit": "git-cz"
  19. },
  20. "config": {
  21. "commitizen": {
  22. "path": "node_modules/cz-git"
  23. }
  24. },
  25. "lint-staged": {
  26. "*.{js,ts}": [
  27. "eslint --fix",
  28. "prettier --write"
  29. ],
  30. "*.{cjs,json}": [
  31. "prettier --write"
  32. ],
  33. "*.{vue,html}": [
  34. "eslint --fix",
  35. "prettier --write",
  36. "stylelint --fix"
  37. ],
  38. "*.{scss,css}": [
  39. "stylelint --fix",
  40. "prettier --write"
  41. ],
  42. "*.md": [
  43. "prettier --write"
  44. ]
  45. },
  46. "dependencies": {
  47. "@element-plus/icons-vue": "^2.3.1",
  48. "@vueuse/core": "^10.11.0",
  49. "@wangeditor/editor": "^5.1.23",
  50. "@wangeditor/editor-for-vue": "5.1.10",
  51. "animate.css": "^4.1.1",
  52. "autoprefixer": "^10.4.19",
  53. "axios": "^1.7.2",
  54. "color": "^4.2.3",
  55. "dayjs": "^1.11.11",
  56. "decimal.js": "^10.4.3",
  57. "echarts": "^5.5.0",
  58. "element-plus": "^2.7.8",
  59. "exceljs": "^4.4.0",
  60. "jsplumb": "^2.15.6",
  61. "lodash-es": "^4.17.21",
  62. "mitt": "^3.0.1",
  63. "net": "^1.0.2",
  64. "nprogress": "^0.2.0",
  65. "os": "^0.1.2",
  66. "path-browserify": "^1.0.1",
  67. "path-to-regexp": "^6.2.2",
  68. "pinia": "^2.1.7",
  69. "pnpm": "^9.10.0",
  70. "print-js": "^1.6.0",
  71. "sockjs-client": "1.6.1",
  72. "sortablejs": "^1.15.2",
  73. "stompjs": "^2.3.3",
  74. "vue": "^3.4.29",
  75. "vue-countup-v3": "^1.4.2",
  76. "vue-fluid-dnd": "^0.6.19",
  77. "vue-i18n": "9.9.1",
  78. "vue-print-next": "^1.0.4",
  79. "vue-router": "^4.3.3",
  80. "vue3-emoji-picker": "^1.1.8"
  81. },
  82. "devDependencies": {
  83. "@commitlint/cli": "^18.6.1",
  84. "@commitlint/config-conventional": "^18.6.3",
  85. "@iconify-json/ep": "^1.1.15",
  86. "@types/color": "^3.0.6",
  87. "@types/lodash": "^4.17.5",
  88. "@types/node": "^20.14.3",
  89. "@types/nprogress": "^0.2.3",
  90. "@types/path-browserify": "^1.0.2",
  91. "@types/sockjs-client": "^1.5.4",
  92. "@types/sortablejs": "^1.15.8",
  93. "@types/stompjs": "^2.3.9",
  94. "@types/vue": "^2.0.0",
  95. "@typescript-eslint/eslint-plugin": "^7.13.1",
  96. "@typescript-eslint/parser": "^7.13.1",
  97. "@vitejs/plugin-vue": "^5.0.5",
  98. "@vitejs/plugin-vue-jsx": "^3.1.0",
  99. "amfe-flexible": "^2.2.1",
  100. "commitizen": "^4.3.0",
  101. "cz-git": "^1.9.3",
  102. "eslint": "^8.57.0",
  103. "eslint-config-prettier": "^9.1.0",
  104. "eslint-plugin-import": "^2.29.1",
  105. "eslint-plugin-prettier": "^5.1.3",
  106. "eslint-plugin-vue": "^9.26.0",
  107. "fast-glob": "^3.3.2",
  108. "husky": "^9.0.11",
  109. "lint-staged": "^15.2.7",
  110. "postcss": "^8.4.38",
  111. "postcss-html": "^1.7.0",
  112. "postcss-pxtorem": "^6.1.0",
  113. "postcss-scss": "^4.0.9",
  114. "prettier": "^3.3.2",
  115. "sass": "^1.77.6",
  116. "stylelint": "^16.6.1",
  117. "stylelint-config-html": "^1.1.0",
  118. "stylelint-config-recess-order": "^4.6.0",
  119. "stylelint-config-recommended-scss": "^14.0.0",
  120. "stylelint-config-recommended-vue": "^1.5.0",
  121. "stylelint-config-standard": "^36.0.0",
  122. "terser": "^5.31.1",
  123. "typescript": "^5.4.5",
  124. "unocss": "^0.58.9",
  125. "unplugin-auto-import": "^0.17.6",
  126. "unplugin-icons": "^0.18.5",
  127. "unplugin-vue-components": "^0.26.0",
  128. "vite": "^5.3.1",
  129. "vite-plugin-mock-dev-server": "^1.5.0",
  130. "vite-plugin-svg-icons": "^2.0.1",
  131. "vite-plugin-vue-devtools": "^7.3.0",
  132. "vue-tsc": "^2.0.21"
  133. },
  134. "repository": "https://",
  135. "author": "www.jueming.com",
  136. "license": "MIT",
  137. "engines": {
  138. "node": ">=18.0.0"
  139. },
  140. "packageManager": "pnpm@9.1.3+sha512.7c2ea089e1a6af306409c4fc8c4f0897bdac32b772016196c469d9428f1fe2d5a21daf8ad6512762654ac645b5d9136bb210ec9a00afa8dbc4677843ba362ecd"
  141. }