package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "markingcloud-admin-web",
  3. "description": "markingcloud admin web",
  4. "version": "2.0.0",
  5. "author": "qmth",
  6. "license": "MIT",
  7. "scripts": {
  8. "start": "vite --config ./config/vite.config.dev.ts",
  9. "dev": "vite --config ./config/vite.config.dev.ts",
  10. "build": "vite build --config ./config/vite.config.prod.ts",
  11. "report": "cross-env REPORT=true npm run build",
  12. "preview": "npm run build && vite preview --host",
  13. "type:check": "vue-tsc --noEmit --skipLibCheck",
  14. "lint-staged": "npx lint-staged"
  15. },
  16. "lint-staged": {
  17. "*.{js,ts,jsx,tsx}": [
  18. "prettier --write",
  19. "eslint --fix"
  20. ],
  21. "*.vue": [
  22. "prettier --write",
  23. "eslint --fix"
  24. ],
  25. "*.{less,css}": [
  26. "prettier --write"
  27. ]
  28. },
  29. "dependencies": {
  30. "element-plus": "^2.7.0",
  31. "@vueuse/core": "^9.3.0",
  32. "axios": "^1.9.0",
  33. "crypto-js": "^4.2.0",
  34. "dayjs": "^1.11.5",
  35. "js-md5": "^0.8.3",
  36. "lodash": "^4.17.21",
  37. "mitt": "^3.0.0",
  38. "nprogress": "^0.2.0",
  39. "pinia": "^2.0.23",
  40. "pinia-plugin-persistedstate": "^3.2.1",
  41. "query-string": "^8.0.3",
  42. "vue": "^3.2.40",
  43. "vue-ls": "^4.2.0",
  44. "vue-router": "^4.0.14"
  45. },
  46. "devDependencies": {
  47. "@commitlint/cli": "^17.1.2",
  48. "@commitlint/config-conventional": "^17.1.0",
  49. "@rollup/plugin-inject": "^5.0.5",
  50. "@types/crypto-js": "^4.2.1",
  51. "@types/lodash": "^4.14.186",
  52. "@types/mockjs": "^1.0.7",
  53. "@types/nprogress": "^0.2.0",
  54. "@types/vue-ls": "^3.2.7",
  55. "@typescript-eslint/eslint-plugin": "^5.40.0",
  56. "@typescript-eslint/parser": "^5.40.0",
  57. "@vitejs/plugin-vue": "^3.1.2",
  58. "@vitejs/plugin-vue-jsx": "^2.0.1",
  59. "@vue/babel-plugin-jsx": "^1.1.1",
  60. "consola": "^2.15.3",
  61. "cross-env": "^7.0.3",
  62. "eslint": "^8.25.0",
  63. "eslint-config-airbnb-base": "^15.0.0",
  64. "eslint-config-prettier": "^8.5.0",
  65. "eslint-import-resolver-typescript": "^3.5.1",
  66. "eslint-plugin-import": "^2.26.0",
  67. "eslint-plugin-prettier": "^4.2.1",
  68. "eslint-plugin-vue": "^9.6.0",
  69. "less": "^4.1.3",
  70. "lint-staged": "^13.0.3",
  71. "mockjs": "^1.1.0",
  72. "postcss-html": "^1.5.0",
  73. "prettier": "^2.7.1",
  74. "rollup": "^3.9.1",
  75. "rollup-plugin-visualizer": "^5.8.2",
  76. "typescript": "^4.8.4",
  77. "unplugin-vue-components": "^0.24.1",
  78. "vite": "^3.2.5",
  79. "vite-plugin-compression": "^0.5.1",
  80. "vite-plugin-eslint": "^1.8.1",
  81. "vite-plugin-imagemin": "^0.6.1",
  82. "vite-svg-loader": "^3.6.0",
  83. "vue-tsc": "^1.0.14"
  84. },
  85. "engines": {
  86. "node": ">=14.0.0"
  87. },
  88. "resolutions": {
  89. "bin-wrapper": "npm:bin-wrapper-china",
  90. "rollup": "^2.56.3",
  91. "gifsicle": "5.2.0"
  92. }
  93. }