package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. "ol": "^10.2.1",
  38. "pinia": "^2.1.7",
  39. "pinia-plugin-persistedstate": "^3.2.1",
  40. "qs": "^6.12.1",
  41. "screenfull": "^6.0.2",
  42. "sortablejs": "^1.15.2",
  43. "vue": "^3.4.31",
  44. "vue-i18n": "^9.13.1",
  45. "vue-pdf-embed": "^2.1.0",
  46. "vue-router": "^4.4.0",
  47. "vue3-pdfjs": "^0.1.6",
  48. "vuedraggable": "^4.1.0"
  49. },
  50. "devDependencies": {
  51. "@commitlint/cli": "^18.4.3",
  52. "@commitlint/config-conventional": "^18.4.3",
  53. "@types/md5": "^2.3.5",
  54. "@types/nprogress": "^0.2.3",
  55. "@types/qs": "^6.9.15",
  56. "@types/sortablejs": "^1.15.8",
  57. "@typescript-eslint/eslint-plugin": "^7.14.1",
  58. "@typescript-eslint/parser": "^7.14.1",
  59. "@vitejs/plugin-vue": "^5.0.4",
  60. "@vitejs/plugin-vue-jsx": "^3.1.0",
  61. "autoprefixer": "^10.4.19",
  62. "cz-git": "1.9.2",
  63. "czg": "^1.9.2",
  64. "eslint": "^8.57.0",
  65. "eslint-config-prettier": "^9.1.0",
  66. "eslint-plugin-prettier": "^5.1.3",
  67. "eslint-plugin-vue": "^9.26.0",
  68. "husky": "^9.0.11",
  69. "lint-staged": "^15.2.5",
  70. "postcss": "^8.4.38",
  71. "postcss-html": "^1.7.0",
  72. "prettier": "^3.3.2",
  73. "rollup-plugin-visualizer": "^5.12.0",
  74. "sass": "^1.77.6",
  75. "standard-version": "^9.5.0",
  76. "stylelint": "^16.6.1",
  77. "stylelint-config-html": "^1.1.0",
  78. "stylelint-config-recess-order": "^5.0.1",
  79. "stylelint-config-recommended-scss": "^14.0.0",
  80. "stylelint-config-recommended-vue": "^1.5.0",
  81. "stylelint-config-standard": "^36.0.0",
  82. "stylelint-config-standard-scss": "^13.1.0",
  83. "typescript": "^5.5.2",
  84. "unplugin-vue-setup-extend-plus": "^1.0.1",
  85. "vite": "^5.3.2",
  86. "vite-plugin-compression": "^0.5.1",
  87. "vite-plugin-eslint": "^1.8.1",
  88. "vite-plugin-html": "^3.2.2",
  89. "vite-plugin-pwa": "^0.20.0",
  90. "vite-plugin-svg-icons": "^2.0.1",
  91. "vite-plugin-vue-devtools": "^7.3.5",
  92. "vue-tsc": "^2.0.22"
  93. },
  94. "engines": {
  95. "node": ">=16.18.0"
  96. },
  97. "browserslist": {
  98. "production": [
  99. "> 1%",
  100. "not dead",
  101. "not op_mini all"
  102. ],
  103. "development": [
  104. "last 1 chrome version",
  105. "last 1 firefox version",
  106. "last 1 safari version"
  107. ]
  108. },
  109. "config": {
  110. "commitizen": {
  111. "path": "node_modules/cz-git"
  112. }
  113. }
  114. }