package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "MES系统",
  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:test": "vite build --mode test",
  10. "build": "vite build --mode production",
  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. "commit": "git-cz"
  16. },
  17. "config": {
  18. "commitizen": {
  19. "path": "node_modules/cz-git"
  20. }
  21. },
  22. "lint-staged": {
  23. "*.{js,ts}": [
  24. "eslint --fix",
  25. "prettier --write"
  26. ],
  27. "*.{cjs,json}": [
  28. "prettier --write"
  29. ],
  30. "*.{vue,html}": [
  31. "eslint --fix",
  32. "prettier --write",
  33. "stylelint --fix"
  34. ],
  35. "*.{scss,css}": [
  36. "stylelint --fix",
  37. "prettier --write"
  38. ],
  39. "*.md": [
  40. "prettier --write"
  41. ]
  42. },
  43. "dependencies": {
  44. "@element-plus/icons-vue": "^2.3.1",
  45. "@smallwei/avue": "^3.3.3",
  46. "@types/smallwei__avue": "^3.0.5",
  47. "@types/uuid": "^9.0.8",
  48. "@vue/runtime-core": "^3.4.27",
  49. "@vueuse/core": "^10.9.0",
  50. "@wangeditor/editor": "^5.1.23",
  51. "@wangeditor/editor-for-vue": "5.1.10",
  52. "animate.css": "^4.1.1",
  53. "axios": "^1.6.7",
  54. "dayjs": "^1.11.10",
  55. "echarts": "^5.5.0",
  56. "element-plus": "^2.6.0",
  57. "exceljs": "^4.4.0",
  58. "file-saver": "^2.0.5",
  59. "lodash-es": "^4.17.21",
  60. "luckyexcel": "^1.0.1",
  61. "mitt": "^3.0.1",
  62. "net": "^1.0.2",
  63. "nprogress": "^0.2.0",
  64. "path-browserify": "^1.0.1",
  65. "path-to-regexp": "^6.2.1",
  66. "pinia": "^2.1.7",
  67. "pinia-plugin-persistedstate": "^3.2.1",
  68. "sockjs-client": "1.6.1",
  69. "sortablejs": "^1.15.2",
  70. "stompjs": "^2.3.3",
  71. "uuid": "^9.0.1",
  72. "vue": "^3.4.21",
  73. "vue-i18n": "9.9.1",
  74. "vue-pdf-embed": "2.0.2",
  75. "vue-router": "^4.3.0",
  76. "vue3-pdfjs": "^0.1.6",
  77. "xlsx": "^0.18.5"
  78. },
  79. "devDependencies": {
  80. "@commitlint/cli": "^18.6.1",
  81. "@commitlint/config-conventional": "^18.6.2",
  82. "@iconify-json/ep": "^1.1.14",
  83. "@types/lodash": "^4.14.202",
  84. "@types/node": "^20.11.24",
  85. "@types/nprogress": "^0.2.3",
  86. "@types/path-browserify": "^1.0.2",
  87. "@types/sockjs-client": "^1.5.4",
  88. "@types/sortablejs": "^1.15.8",
  89. "@types/stompjs": "^2.3.9",
  90. "@typescript-eslint/eslint-plugin": "^7.1.1",
  91. "@typescript-eslint/parser": "^7.1.1",
  92. "@vitejs/plugin-vue": "^5.0.4",
  93. "@vitejs/plugin-vue-jsx": "^3.1.0",
  94. "autoprefixer": "^10.4.18",
  95. "commitizen": "^4.3.0",
  96. "cz-git": "^1.9.0",
  97. "eslint": "^8.57.0",
  98. "eslint-config-prettier": "^9.1.0",
  99. "eslint-plugin-import": "^2.29.1",
  100. "eslint-plugin-prettier": "^5.1.3",
  101. "eslint-plugin-vue": "^9.22.0",
  102. "fast-glob": "^3.3.2",
  103. "lint-staged": "^15.2.2",
  104. "postcss": "^8.4.35",
  105. "postcss-html": "^1.6.0",
  106. "postcss-scss": "^4.0.9",
  107. "prettier": "^3.2.5",
  108. "sass": "^1.71.1",
  109. "stylelint": "^16.2.1",
  110. "stylelint-config-html": "^1.1.0",
  111. "stylelint-config-recess-order": "^4.6.0",
  112. "stylelint-config-recommended-scss": "^14.0.0",
  113. "stylelint-config-recommended-vue": "^1.5.0",
  114. "stylelint-config-standard": "^36.0.0",
  115. "terser": "^5.28.1",
  116. "typescript": "^5.3.3",
  117. "unocss": "^0.58.5",
  118. "unplugin-auto-import": "^0.17.5",
  119. "unplugin-icons": "^0.18.5",
  120. "unplugin-vue-components": "^0.26.0",
  121. "vite": "^5.1.5",
  122. "vite-plugin-mock-dev-server": "^1.4.7",
  123. "vite-plugin-svg-icons": "^2.0.1",
  124. "vue-tsc": "^2.0.4"
  125. },
  126. "repository": "https://gitee.com/youlaiorg/vue3-element-admin.git",
  127. "author": "有来开源组织",
  128. "license": "MIT",
  129. "engines": {
  130. "node": ">=18.0.0"
  131. }
  132. }