package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "name": "shuimu-dashboard-h5",
  3. "private": true,
  4. "version": "2.5.0",
  5. "scripts": {
  6. "preinstall": "npx only-allow pnpm",
  7. "dev": "vite serve --mode development",
  8. "build:beta": "vite build --mode staging && vue-tsc --noEmit",
  9. "build:prod": "vite build --mode production && vue-tsc --noEmit",
  10. "preview": "vite preview",
  11. "prepare": "husky install",
  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. "commit": "git-cz"
  17. },
  18. "config": {
  19. "commitizen": {
  20. "path": "node_modules/cz-git"
  21. }
  22. },
  23. "lint-staged": {
  24. "*.{js,ts}": [
  25. "eslint --fix",
  26. "prettier --write"
  27. ],
  28. "*.{cjs,json}": [
  29. "prettier --write"
  30. ],
  31. "*.{vue,html}": [
  32. "eslint --fix",
  33. "prettier --write",
  34. "stylelint --fix"
  35. ],
  36. "*.{scss,css}": [
  37. "stylelint --fix",
  38. "prettier --write"
  39. ],
  40. "*.md": [
  41. "prettier --write"
  42. ]
  43. },
  44. "dependencies": {
  45. "@element-plus/icons-vue": "^2.1.0",
  46. "@vitejs/plugin-vue": "^4.2.3",
  47. "@vueuse/core": "^10.1.2",
  48. "@wangeditor/editor": "^5.1.23",
  49. "@wangeditor/editor-for-vue": "5.1.10",
  50. "axios": "^1.4.0",
  51. "codemirror": "^5.65.13",
  52. "echarts": "^5.2.2",
  53. "echarts-liquidfill": "^3.1.0",
  54. "element-plus": "^2.3.6",
  55. "html2canvas": "^1.4.1",
  56. "lodash-es": "^4.17.21",
  57. "mockjs": "^1.1.0",
  58. "nprogress": "^0.2.0",
  59. "path-browserify": "^1.0.1",
  60. "path-to-regexp": "^6.2.0",
  61. "pinia": "^2.0.33",
  62. "screenfull": "^6.0.0",
  63. "sortablejs": "^1.15.0",
  64. "vue": "^3.3.4",
  65. "vue-i18n": "9.2.2",
  66. "vue-router": "^4.2.0",
  67. "xlsx": "^0.18.5"
  68. },
  69. "devDependencies": {
  70. "@commitlint/cli": "^17.6.3",
  71. "@commitlint/config-conventional": "^17.6.3",
  72. "@iconify-json/ep": "^1.1.10",
  73. "@types/codemirror": "^5.60.7",
  74. "@types/lodash": "^4.14.195",
  75. "@types/nprogress": "^0.2.0",
  76. "@types/path-browserify": "^1.0.0",
  77. "@types/sortablejs": "^1.15.1",
  78. "@typescript-eslint/eslint-plugin": "^5.59.6",
  79. "@typescript-eslint/parser": "^5.59.6",
  80. "autoprefixer": "^10.4.14",
  81. "commitizen": "^4.3.0",
  82. "cz-git": "^1.6.1",
  83. "eslint": "^8.40.0",
  84. "eslint-config-prettier": "^8.8.0",
  85. "eslint-plugin-import": "^2.28.0",
  86. "eslint-plugin-prettier": "^4.2.1",
  87. "eslint-plugin-vue": "^9.13.0",
  88. "fast-glob": "^3.2.11",
  89. "husky": "^8.0.3",
  90. "lint-staged": "^13.2.2",
  91. "postcss": "^8.4.23",
  92. "postcss-html": "^1.5.0",
  93. "postcss-scss": "^4.0.6",
  94. "prettier": "^2.8.8",
  95. "rollup-plugin-visualizer": "^5.9.2",
  96. "sass": "^1.58.3",
  97. "stylelint": "^15.10.2",
  98. "stylelint-config-html": "^1.1.0",
  99. "stylelint-config-recess-order": "^4.0.0",
  100. "stylelint-config-recommended-scss": "^12.0.0",
  101. "stylelint-config-recommended-vue": "^1.5.0",
  102. "stylelint-config-standard": "^34.0.0",
  103. "stylelint-config-standard-scss": "^10.0.0",
  104. "typescript": "^5.0.4",
  105. "unocss": "^0.51.13",
  106. "unplugin-auto-import": "^0.15.3",
  107. "unplugin-icons": "^0.16.1",
  108. "unplugin-vue-components": "^0.24.1",
  109. "vite": "^4.4.2",
  110. "vite-plugin-compression": "^0.5.1",
  111. "vite-plugin-mock": "^3.0.0",
  112. "vite-plugin-svg-icons": "^2.0.1",
  113. "vue-tsc": "^1.7.0 "
  114. },
  115. "repository": "http://120.78.146.64:3000/shuimuai/shuimu-dashboard-h5/src/master",
  116. "author": "索隆",
  117. "license": "MIT",
  118. "engines": {
  119. "node": ">=16.0.0"
  120. }
  121. }