package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "admin",
  3. "private": true,
  4. "version": "1.2.0",
  5. "type": "module",
  6. "description": "admin open source management system",
  7. "scripts": {
  8. "dev": "vite",
  9. "serve": "vite",
  10. "build:dev": "vite build --mode development",
  11. "build:test": "vite build --mode test",
  12. "build:pro": "vite build --mode production",
  13. "type:check": "vue-tsc --noEmit --skipLibCheck",
  14. "preview": "pnpm build:dev && vite preview",
  15. "lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
  16. "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
  17. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  18. "lint:lint-staged": "lint-staged",
  19. "prepare": "husky install",
  20. "release": "standard-version",
  21. "commit": "git add -A && czg && git push"
  22. },
  23. "dependencies": {
  24. "@element-plus/icons-vue": "^2.3.1",
  25. "@vueuse/core": "^10.11.0",
  26. "@wangeditor/editor": "^5.1.23",
  27. "@wangeditor/editor-for-vue": "^5.1.12",
  28. "axios": "^1.7.2",
  29. "dayjs": "^1.11.11",
  30. "driver.js": "^1.3.1",
  31. "echarts": "^5.5.1",
  32. "echarts-liquidfill": "^3.1.0",
  33. "element-plus": "^2.7.6",
  34. "md5": "^2.3.0",
  35. "mitt": "^3.0.1",
  36. "nprogress": "^0.2.0",
  37. "pinia": "^2.1.7",
  38. "pinia-plugin-persistedstate": "^3.2.1",
  39. "qs": "^6.12.1",
  40. "screenfull": "^6.0.2",
  41. "sortablejs": "^1.15.2",
  42. "vue": "^3.4.31",
  43. "vue-i18n": "^9.13.1",
  44. "vue-pdf-embed": "^2.1.0",
  45. "vue-router": "^4.4.0",
  46. "vue3-pdfjs": "^0.1.6",
  47. "vuedraggable": "^4.1.0"
  48. },
  49. "devDependencies": {
  50. "@commitlint/cli": "^18.4.3",
  51. "@commitlint/config-conventional": "^18.4.3",
  52. "@types/md5": "^2.3.5",
  53. "@types/nprogress": "^0.2.3",
  54. "@types/qs": "^6.9.15",
  55. "@types/sortablejs": "^1.15.8",
  56. "@typescript-eslint/eslint-plugin": "^7.14.1",
  57. "@typescript-eslint/parser": "^7.14.1",
  58. "@vitejs/plugin-vue": "^5.0.4",
  59. "@vitejs/plugin-vue-jsx": "^3.1.0",
  60. "autoprefixer": "^10.4.19",
  61. "cz-git": "1.9.2",
  62. "czg": "^1.9.2",
  63. "eslint": "^8.57.0",
  64. "eslint-config-prettier": "^9.1.0",
  65. "eslint-plugin-prettier": "^5.1.3",
  66. "eslint-plugin-vue": "^9.26.0",
  67. "husky": "^9.0.11",
  68. "lint-staged": "^15.2.5",
  69. "postcss": "^8.4.38",
  70. "postcss-html": "^1.7.0",
  71. "prettier": "^3.3.2",
  72. "rollup-plugin-visualizer": "^5.12.0",
  73. "sass": "^1.77.6",
  74. "standard-version": "^9.5.0",
  75. "stylelint": "^16.6.1",
  76. "stylelint-config-html": "^1.1.0",
  77. "stylelint-config-recess-order": "^5.0.1",
  78. "stylelint-config-recommended-scss": "^14.0.0",
  79. "stylelint-config-recommended-vue": "^1.5.0",
  80. "stylelint-config-standard": "^36.0.0",
  81. "stylelint-config-standard-scss": "^13.1.0",
  82. "typescript": "^5.5.2",
  83. "unplugin-vue-setup-extend-plus": "^1.0.1",
  84. "vite": "^5.3.2",
  85. "vite-plugin-compression": "^0.5.1",
  86. "vite-plugin-eslint": "^1.8.1",
  87. "vite-plugin-html": "^3.2.2",
  88. "vite-plugin-pwa": "^0.20.0",
  89. "vite-plugin-svg-icons": "^2.0.1",
  90. "vite-plugin-vue-devtools": "^7.3.5",
  91. "vue-tsc": "^2.0.22"
  92. },
  93. "engines": {
  94. "node": ">=16.18.0"
  95. },
  96. "browserslist": {
  97. "production": [
  98. "> 1%",
  99. "not dead",
  100. "not op_mini all"
  101. ],
  102. "development": [
  103. "last 1 chrome version",
  104. "last 1 firefox version",
  105. "last 1 safari version"
  106. ]
  107. },
  108. "config": {
  109. "commitizen": {
  110. "path": "node_modules/cz-git"
  111. }
  112. }
  113. }