package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "name": "km-admin",
  3. "private": true,
  4. "version": "1.2.0",
  5. "type": "module",
  6. "description": "km-admin open source management system",
  7. "author": {
  8. "name": "gaokunw",
  9. "email": "wanggaokun@wo.cn"
  10. },
  11. "license": "MIT",
  12. "homepage": "https://gitee.com/gaokunw/kimi-web",
  13. "repository": {
  14. "type": "git",
  15. "url": "git@gitee.com:gaokunw/kimi-web.git"
  16. },
  17. "bugs": {
  18. "url": "https://gitee.com/gaokunw/kimi-web/issues"
  19. },
  20. "scripts": {
  21. "dev": "vite",
  22. "serve": "vite",
  23. "build:dev": "vue-tsc && vite build --mode development",
  24. "build:test": "vue-tsc && vite build --mode test",
  25. "build:pro": "vue-tsc && vite build --mode production",
  26. "type:check": "vue-tsc --noEmit --skipLibCheck",
  27. "preview": "npm run build:dev && vite preview",
  28. "lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
  29. "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
  30. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  31. "lint:lint-staged": "lint-staged",
  32. "prepare": "husky install",
  33. "release": "standard-version",
  34. "commit": "git add -A && czg && git push"
  35. },
  36. "dependencies": {
  37. "@element-plus/icons-vue": "^2.3.1",
  38. "@types/file-saver": "^2.0.7",
  39. "@types/js-cookie": "^3.0.6",
  40. "@vueuse/core": "^10.6.1",
  41. "@wangeditor/editor": "^5.1.23",
  42. "@wangeditor/editor-for-vue": "^5.1.12",
  43. "axios": "^1.6.2",
  44. "crypto-js": "^4.2.0",
  45. "dayjs": "^1.11.10",
  46. "driver.js": "^1.3.1",
  47. "echarts": "^5.4.3",
  48. "echarts-liquidfill": "^3.1.0",
  49. "element-plus": "^2.4.3",
  50. "file-saver": "^2.0.5",
  51. "js-cookie": "^3.0.5",
  52. "jsencrypt": "^3.3.2",
  53. "md5": "^2.3.0",
  54. "mitt": "^3.0.1",
  55. "nanoid": "^5.0.4",
  56. "nprogress": "^0.2.0",
  57. "pinia": "^2.1.7",
  58. "pinia-plugin-persistedstate": "^3.2.0",
  59. "prismjs": "^1.29.0",
  60. "qs": "^6.11.2",
  61. "screenfull": "^6.0.2",
  62. "sortablejs": "^1.15.1",
  63. "vue": "^3.3.11",
  64. "vue-cropper": "^1.1.2",
  65. "vue-i18n": "^9.6.4",
  66. "vue-router": "^4.2.5",
  67. "vuedraggable": "^4.1.0"
  68. },
  69. "devDependencies": {
  70. "@commitlint/cli": "^18.4.3",
  71. "@commitlint/config-conventional": "^18.4.3",
  72. "@types/md5": "^2.3.5",
  73. "@types/nprogress": "^0.2.3",
  74. "@types/prismjs": "^1.26.3",
  75. "@types/qs": "^6.9.10",
  76. "@types/sortablejs": "^1.15.7",
  77. "@typescript-eslint/eslint-plugin": "^6.14.0",
  78. "@typescript-eslint/parser": "^6.14.0",
  79. "@vitejs/plugin-vue": "^4.5.2",
  80. "@vitejs/plugin-vue-jsx": "^3.1.0",
  81. "autoprefixer": "^10.4.16",
  82. "cz-git": "^1.7.1",
  83. "czg": "^1.7.1",
  84. "eslint": "^8.55.0",
  85. "eslint-config-prettier": "^9.1.0",
  86. "eslint-plugin-prettier": "^5.0.1",
  87. "eslint-plugin-vue": "^9.19.2",
  88. "husky": "^8.0.3",
  89. "lint-staged": "^15.1.0",
  90. "postcss": "^8.4.32",
  91. "postcss-html": "^1.5.0",
  92. "prettier": "^3.1.0",
  93. "rollup-plugin-visualizer": "^5.9.3",
  94. "sass": "^1.69.5",
  95. "standard-version": "^9.5.0",
  96. "stylelint": "^16.0.2",
  97. "stylelint-config-html": "^1.1.0",
  98. "stylelint-config-recess-order": "^4.4.0",
  99. "stylelint-config-recommended-scss": "^14.0.0",
  100. "stylelint-config-recommended-vue": "^1.5.0",
  101. "stylelint-config-standard": "^35.0.0",
  102. "stylelint-config-standard-scss": "^12.0.0",
  103. "typescript": "4.9.5",
  104. "unplugin-vue-setup-extend-plus": "^1.0.0",
  105. "vite": "^5.0.8",
  106. "vite-plugin-compression": "^0.5.1",
  107. "vite-plugin-eslint": "^1.8.1",
  108. "vite-plugin-prismjs": "^0.0.8",
  109. "vite-plugin-pwa": "^0.17.2",
  110. "vite-plugin-simple-html": "^0.1.0",
  111. "vite-plugin-svg-icons": "^2.0.1",
  112. "vue-tsc": "^1.8.25"
  113. },
  114. "engines": {
  115. "node": ">=16.0.0"
  116. },
  117. "browserslist": {
  118. "production": [
  119. "> 1%",
  120. "not dead",
  121. "not op_mini all"
  122. ],
  123. "development": [
  124. "last 1 chrome version",
  125. "last 1 firefox version",
  126. "last 1 safari version"
  127. ]
  128. },
  129. "config": {
  130. "commitizen": {
  131. "path": "node_modules/cz-git"
  132. }
  133. }
  134. }