package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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:beta": "vite build --mode staging &&vue-tsc --noEmit",
  10. "build:prod": "vite build --mode production &&vue-tsc --noEmit",
  11. "preview": "vite preview",
  12. "prepare": "husky install",
  13. "lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ",
  14. "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
  15. "lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
  16. "lint:lint-staged": "lint-staged",
  17. "commit": "git-cz"
  18. },
  19. "config": {
  20. "commitizen": {
  21. "path": "node_modules/cz-git"
  22. }
  23. },
  24. "lint-staged": {
  25. "*.{js,ts}": [
  26. "eslint --fix",
  27. "prettier --write"
  28. ],
  29. "*.{cjs,json}": [
  30. "prettier --write"
  31. ],
  32. "*.{vue,html}": [
  33. "eslint --fix",
  34. "prettier --write",
  35. "stylelint --fix"
  36. ],
  37. "*.{scss,css}": [
  38. "stylelint --fix",
  39. "prettier --write"
  40. ],
  41. "*.md": [
  42. "prettier --write"
  43. ]
  44. },
  45. "dependencies": {
  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. "nprogress": "^0.2.0",
  58. "path-browserify": "^1.0.1",
  59. "path-to-regexp": "^6.2.0",
  60. "pinia": "^2.0.33",
  61. "screenfull": "^6.0.0",
  62. "vue": "^3.3.1",
  63. "vue-i18n": "9.2.2",
  64. "vue-router": "^4.2.0"
  65. },
  66. "devDependencies": {
  67. "@commitlint/cli": "^17.6.3",
  68. "@commitlint/config-conventional": "^17.6.3",
  69. "@element-plus/icons-vue": "^2.1.0",
  70. "@iconify-json/ep": "^1.1.10",
  71. "@types/codemirror": "^5.60.7",
  72. "@types/lodash": "^4.14.195",
  73. "@types/nprogress": "^0.2.0",
  74. "@types/path-browserify": "^1.0.0",
  75. "@typescript-eslint/eslint-plugin": "^5.59.6",
  76. "@typescript-eslint/parser": "^5.59.6",
  77. "autoprefixer": "^10.4.14",
  78. "commitizen": "^4.3.0",
  79. "cz-git": "^1.6.1",
  80. "eslint": "^8.40.0",
  81. "eslint-config-prettier": "^8.8.0",
  82. "eslint-plugin-prettier": "^4.2.1",
  83. "eslint-plugin-vue": "^9.13.0",
  84. "fast-glob": "^3.2.11",
  85. "husky": "^8.0.3",
  86. "lint-staged": "^13.2.2",
  87. "postcss": "^8.4.23",
  88. "postcss-html": "^1.5.0",
  89. "postcss-scss": "^4.0.6",
  90. "prettier": "^2.8.8",
  91. "sass": "^1.58.3",
  92. "stylelint": "^15.5.0",
  93. "stylelint-config-html": "^1.1.0",
  94. "stylelint-config-recess-order": "^4.0.0",
  95. "stylelint-config-recommended-scss": "11.0.0 ",
  96. "stylelint-config-recommended-vue": "^1.4.0",
  97. "stylelint-config-standard": "^33.0.0",
  98. "stylelint-config-standard-scss": "^9.0.0",
  99. "typescript": "^5.0.4",
  100. "unocss": "^0.51.13",
  101. "unplugin-auto-import": "^0.15.3",
  102. "unplugin-icons": "^0.16.1",
  103. "unplugin-vue-components": "^0.24.1",
  104. "vite": "^4.3.9",
  105. "vite-plugin-svg-icons": "^2.0.1",
  106. "vue-tsc": "^1.6.5 "
  107. },
  108. "repository": "http://120.78.146.64:3000/shuimuai/shuimu-dashboard-h5/src/master",
  109. "author": "索隆",
  110. "license": "MIT"
  111. }