package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "eco-boot-web",
  3. "private": true,
  4. "version": "1.0.0",
  5. "type": "module",
  6. "author": {
  7. "name": "wanggaokun",
  8. "email": "wanggaokun@wo.com",
  9. "url": "https://gitee.com/gaokunw/eco-boot-web"
  10. },
  11. "scripts": {
  12. "i": "pnpm install",
  13. "dev": "vite --mode development",
  14. "build": "vue-tsc -b && vite build --mode production",
  15. "preview": "vite preview",
  16. "prepare": "husky install",
  17. "lint:lint-staged": "lint-staged -c ./.husky/lint-staged-c.cjs",
  18. "lint:eslint": "eslint . --fix \"src/**/*.{js,ts,tsx,vue,html}\"",
  19. "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
  20. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  21. "commit": "git add -A && git-cz && git push",
  22. "release": "standard-version",
  23. "commitlint": "commitlint --config commitlint.config.cjs -e -V"
  24. },
  25. "dependencies": {
  26. "@element-plus/icons-vue": "^2.3.1",
  27. "@vueuse/core": "^13.5.0",
  28. "axios": "^1.10.0",
  29. "element-plus": "^2.10.4",
  30. "nprogress": "^0.2.0",
  31. "pinia": "^3.0.3",
  32. "pinia-plugin-persistedstate": "^4.4.1",
  33. "sortablejs": "^1.15.6",
  34. "vue": "^3.5.17",
  35. "vue-eslint-parser": "^10.2.0",
  36. "vue-router": "^4.5.1"
  37. },
  38. "devDependencies": {
  39. "@commitlint/cli": "^19.8.1",
  40. "@commitlint/config-conventional": "^19.8.1",
  41. "@eslint/js": "^9.31.0",
  42. "@types/node": "^24.0.13",
  43. "@types/node-forge": "^1.3.13",
  44. "@types/nprogress": "^0.2.3",
  45. "@types/sortablejs": "^1.15.8",
  46. "@vitejs/plugin-vue": "^6.0.0",
  47. "@vitejs/plugin-vue-jsx": "^5.0.1",
  48. "@vue/eslint-config-prettier": "^10.2.0",
  49. "@vue/eslint-config-typescript": "^14.6.0",
  50. "@vue/tsconfig": "^0.7.0",
  51. "commitizen": "^4.3.1",
  52. "cz-git": "^1.12.0",
  53. "eslint": "^9.31.0",
  54. "eslint-plugin-prettier": "^5.5.1",
  55. "eslint-plugin-vue": "^10.3.0",
  56. "husky": "^9.1.7",
  57. "lint-staged": "^16.1.2",
  58. "node-forge": "^1.3.1",
  59. "postcss": "^8.5.6",
  60. "postcss-html": "^1.8.0",
  61. "postcss-scss": "^4.0.9",
  62. "prettier": "^3.6.2",
  63. "sass": "^1.89.2",
  64. "stylelint-config-html": "^1.1.0",
  65. "stylelint-config-recommended-scss": "^15.0.1",
  66. "stylelint-config-recommended-vue": "^1.6.1",
  67. "stylelint-config-standard": "^38.0.0",
  68. "stylelint-config-standard-scss": "^15.0.1",
  69. "typescript": "~5.8.3",
  70. "typescript-eslint": "^8.36.0",
  71. "unplugin-auto-import": "^19.3.0",
  72. "unplugin-icons": "^22.1.0",
  73. "unplugin-vue-components": "^28.8.0",
  74. "vite": "^7.0.4",
  75. "vite-plugin-ejs": "^1.7.0",
  76. "vite-plugin-svg-icons": "^2.0.1",
  77. "vite-plugin-vue-setup-extend": "^0.4.0",
  78. "vue-tsc": "^2.2.12"
  79. },
  80. "engines": {
  81. "node": ">=20.0.0"
  82. },
  83. "config": {
  84. "commitizen": {
  85. "path": "node_modules/cz-git"
  86. }
  87. },
  88. "lint-staged": {
  89. "*.{js,ts}": [
  90. "eslint --fix",
  91. "prettier --write"
  92. ],
  93. "*.{cjs,json}": [
  94. "prettier --write"
  95. ],
  96. "*.{vue,html}": [
  97. "eslint --fix",
  98. "prettier --write",
  99. "stylelint --fix --allow-empty-input"
  100. ],
  101. "*.{scss,css}": [
  102. "stylelint --fix --allow-empty-input",
  103. "prettier --write"
  104. ]
  105. }
  106. }