package.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. {
  2. "name": "eco",
  3. "private": true,
  4. "version": "1.2.0",
  5. "type": "module",
  6. "description": "eco open source management system",
  7. "author": {
  8. "name": "gaokunw",
  9. "email": "wanggaokun@wo.cn"
  10. },
  11. "license": "MIT",
  12. "homepage": "https://gitee.com/gaokunw/eco-web",
  13. "repository": {
  14. "type": "git",
  15. "url": "git@gitee.com:gaokunw/eco-web.git"
  16. },
  17. "bugs": {
  18. "url": "https://gitee.com/gaokunw/eco-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": "pnpm 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.11.0",
  41. "@wangeditor/editor": "^5.1.23",
  42. "@wangeditor/editor-for-vue": "^5.1.12",
  43. "axios": "^1.7.2",
  44. "crypto-js": "^4.2.0",
  45. "dayjs": "^1.11.11",
  46. "driver.js": "^1.3.1",
  47. "echarts": "^5.5.0",
  48. "echarts-liquidfill": "^3.1.0",
  49. "element-plus": "^2.7.6",
  50. "file-saver": "^2.0.5",
  51. "image-conversion": "^2.1.1",
  52. "js-cookie": "^3.0.5",
  53. "jsencrypt": "^3.3.2",
  54. "lodash": "^4.17.21",
  55. "md5": "^2.3.0",
  56. "mitt": "^3.0.1",
  57. "nanoid": "^5.0.4",
  58. "nprogress": "^0.2.0",
  59. "pinia": "^2.1.7",
  60. "pinia-plugin-persistedstate": "^3.2.1",
  61. "prismjs": "^1.29.0",
  62. "qs": "^6.12.1",
  63. "screenfull": "^6.0.2",
  64. "sortablejs": "^1.15.1",
  65. "vue": "^3.4.30",
  66. "vue-cropper": "^1.1.2",
  67. "vue-i18n": "^9.13.1",
  68. "vue-router": "^4.4.0",
  69. "vue-types": "^5.1.1",
  70. "vuedraggable": "^4.1.0"
  71. },
  72. "devDependencies": {
  73. "@commitlint/cli": "^18.4.3",
  74. "@commitlint/config-conventional": "^18.4.3",
  75. "@types/md5": "^2.3.5",
  76. "@types/nprogress": "^0.2.3",
  77. "@types/prismjs": "^1.26.3",
  78. "@types/qs": "^6.9.15",
  79. "@types/sortablejs": "^1.15.8",
  80. "@typescript-eslint/eslint-plugin": "^7.9.0",
  81. "@typescript-eslint/parser": "^7.9.0",
  82. "@vitejs/plugin-vue": "^5.0.4",
  83. "@vitejs/plugin-vue-jsx": "^3.1.0",
  84. "autoprefixer": "^10.4.19",
  85. "cz-git": "1.9.2",
  86. "czg": "^1.9.2",
  87. "eslint": "^8.57.0",
  88. "eslint-config-prettier": "^9.1.0",
  89. "eslint-plugin-import": "^2.29.1",
  90. "eslint-plugin-node": "^11.1.0",
  91. "eslint-plugin-prettier": "^5.1.3",
  92. "eslint-plugin-promise": "^6.2.0",
  93. "eslint-plugin-vue": "^9.26.0",
  94. "husky": "^9.0.11",
  95. "lint-staged": "^15.2.5",
  96. "postcss": "^8.4.38",
  97. "postcss-html": "^1.7.0",
  98. "prettier": "^3.2.5",
  99. "rollup-plugin-visualizer": "^5.12.0",
  100. "sass": "^1.77.3",
  101. "standard-version": "^9.5.0",
  102. "stylelint": "^16.6.1",
  103. "stylelint-config-html": "^1.1.0",
  104. "stylelint-config-recess-order": "^5.0.1",
  105. "stylelint-config-recommended-scss": "^14.0.0",
  106. "stylelint-config-recommended-vue": "^1.5.0",
  107. "stylelint-config-standard": "^36.0.0",
  108. "stylelint-config-standard-scss": "^13.1.0",
  109. "typescript": "^5.5.2",
  110. "unplugin-auto-import": "^0.17.6",
  111. "unplugin-icons": "^0.19.0",
  112. "unplugin-vue-components": "^0.27.0",
  113. "unplugin-vue-setup-extend-plus": "^1.0.1",
  114. "vite": "^5.3.1",
  115. "vite-plugin-compression": "^0.5.1",
  116. "vite-plugin-eslint": "^1.8.1",
  117. "vite-plugin-prismjs": "^0.0.8",
  118. "vite-plugin-pwa": "^0.20.0",
  119. "vite-plugin-simple-html": "^0.1.0",
  120. "vite-plugin-svg-icons": "^2.0.1",
  121. "vue-tsc": "^2.0.22"
  122. },
  123. "engines": {
  124. "node": ">=20.0.0"
  125. },
  126. "browserslist": {
  127. "production": [
  128. "> 1%",
  129. "not dead",
  130. "not op_mini all"
  131. ],
  132. "development": [
  133. "last 1 chrome version",
  134. "last 1 firefox version",
  135. "last 1 safari version"
  136. ]
  137. },
  138. "config": {
  139. "commitizen": {
  140. "path": "node_modules/cz-git"
  141. }
  142. }
  143. }