package.json 4.0 KB

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