package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "shuimu-dashboard-h5",
  3. "private": true,
  4. "version": "2.4.0",
  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 install",
  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. "@vitejs/plugin-vue": "^4.2.3",
  45. "@vueuse/core": "^10.1.2",
  46. "@wangeditor/editor": "^5.1.23",
  47. "@wangeditor/editor-for-vue": "5.1.10",
  48. "axios": "^1.4.0",
  49. "codemirror": "^5.65.13",
  50. "echarts": "^5.2.2",
  51. "echarts-liquidfill": "^3.1.0",
  52. "element-plus": "^2.3.6",
  53. "lodash-es": "^4.17.21",
  54. "nprogress": "^0.2.0",
  55. "path-browserify": "^1.0.1",
  56. "path-to-regexp": "^6.2.0",
  57. "pinia": "^2.0.33",
  58. "screenfull": "^6.0.0",
  59. "vue": "^3.3.1",
  60. "vue-i18n": "9.2.2",
  61. "vue-router": "^4.2.0"
  62. },
  63. "devDependencies": {
  64. "@commitlint/cli": "^17.6.3",
  65. "@commitlint/config-conventional": "^17.6.3",
  66. "@iconify-json/ep": "^1.1.10",
  67. "@element-plus/icons-vue": "^2.1.0",
  68. "@types/codemirror": "^5.60.7",
  69. "@types/lodash": "^4.14.195",
  70. "@types/nprogress": "^0.2.0",
  71. "@types/path-browserify": "^1.0.0",
  72. "@typescript-eslint/eslint-plugin": "^5.59.6",
  73. "@typescript-eslint/parser": "^5.59.6",
  74. "autoprefixer": "^10.4.14",
  75. "commitizen": "^4.3.0",
  76. "cz-git": "^1.6.1",
  77. "eslint": "^8.40.0",
  78. "eslint-config-prettier": "^8.8.0",
  79. "eslint-plugin-prettier": "^4.2.1",
  80. "eslint-plugin-vue": "^9.13.0",
  81. "fast-glob": "^3.2.11",
  82. "husky": "^8.0.3",
  83. "lint-staged": "^13.2.2",
  84. "postcss": "^8.4.23",
  85. "postcss-html": "^1.5.0",
  86. "postcss-scss": "^4.0.6",
  87. "prettier": "^2.8.8",
  88. "sass": "^1.58.3",
  89. "stylelint": "^15.5.0",
  90. "stylelint-config-html": "^1.1.0",
  91. "stylelint-config-recess-order": "^4.0.0",
  92. "stylelint-config-recommended-scss": "11.0.0 ",
  93. "stylelint-config-recommended-vue": "^1.4.0",
  94. "stylelint-config-standard": "^33.0.0",
  95. "stylelint-config-standard-scss": "^9.0.0",
  96. "typescript": "^5.0.4",
  97. "unocss": "^0.51.13",
  98. "unplugin-auto-import": "^0.15.3",
  99. "unplugin-icons": "^0.16.1",
  100. "unplugin-vue-components": "^0.24.1",
  101. "vite": "^4.3.9",
  102. "vite-plugin-svg-icons": "^2.0.1",
  103. "vue-tsc": "^1.6.5 "
  104. },
  105. "repository": "http://120.78.146.64:3000/shuimuai/shuimu-dashboard-h5/src/master",
  106. "author": "索隆",
  107. "license": "MIT"
  108. }