package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "my-porject-web-manager",
  3. "description": "",
  4. "version": "1.0.0",
  5. "private": true,
  6. "author": "Sun Yuan",
  7. "license": "MIT",
  8. "scripts": {
  9. "dev": "vite --config ./config/vite.config.dev.ts",
  10. "build": "vue-tsc --noEmit && 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. "prepare": "husky install"
  16. },
  17. "lint-staged": {
  18. "*.{js,ts,jsx,tsx}": [
  19. "prettier --write",
  20. "eslint --fix"
  21. ],
  22. "*.vue": [
  23. "stylelint --fix",
  24. "prettier --write",
  25. "eslint --fix"
  26. ],
  27. "*.{less,css}": [
  28. "stylelint --fix",
  29. "prettier --write"
  30. ]
  31. },
  32. "dependencies": {
  33. "@arco-design/web-vue": "^2.52.1",
  34. "@vueuse/core": "^9.3.0",
  35. "arco-design-pro-vue": "^2.7.2",
  36. "axios": "^0.24.0",
  37. "date-fns": "^2.29.1",
  38. "dayjs": "^1.11.5",
  39. "echarts": "^5.4.0",
  40. "lodash": "^4.17.21",
  41. "mitt": "^3.0.0",
  42. "nprogress": "^0.2.0",
  43. "pinia": "^2.0.23",
  44. "qs": "^6.11.0",
  45. "query-string": "^8.0.3",
  46. "sortablejs": "^1.15.0",
  47. "ts-md5": "^1.2.11",
  48. "tsparticles": "^2.9.3",
  49. "vue": "^3.2.40",
  50. "vue-echarts": "^6.2.3",
  51. "vue-i18n": "^9.2.2",
  52. "vue-router": "^4.0.14",
  53. "vuedraggable": "4.1.0"
  54. },
  55. "devDependencies": {
  56. "@arco-plugins/vite-vue": "^1.4.5",
  57. "@commitlint/cli": "^17.1.2",
  58. "@commitlint/config-conventional": "^17.1.0",
  59. "@types/crypto-js": "^4.1.1",
  60. "@types/lodash": "^4.14.186",
  61. "@types/nprogress": "^0.2.0",
  62. "@types/qs": "^6.9.7",
  63. "@types/sortablejs": "^1.15.0",
  64. "@typescript-eslint/eslint-plugin": "^5.40.0",
  65. "@typescript-eslint/parser": "^5.40.0",
  66. "@vitejs/plugin-vue": "^3.1.2",
  67. "@vitejs/plugin-vue-jsx": "^2.0.1",
  68. "@vue/babel-plugin-jsx": "^1.1.1",
  69. "consola": "^2.15.3",
  70. "cross-env": "^7.0.3",
  71. "crypto-js": "^4.1.1",
  72. "eslint": "^8.25.0",
  73. "eslint-config-airbnb-base": "^15.0.0",
  74. "eslint-config-prettier": "^8.5.0",
  75. "eslint-import-resolver-typescript": "^3.5.1",
  76. "eslint-plugin-import": "^2.26.0",
  77. "eslint-plugin-prettier": "^4.2.1",
  78. "eslint-plugin-vue": "^9.6.0",
  79. "husky": "^8.0.1",
  80. "less": "^4.1.3",
  81. "lint-staged": "^13.0.3",
  82. "mockjs": "^1.1.0",
  83. "postcss-html": "^1.5.0",
  84. "prettier": "^2.7.1",
  85. "rollup": "^3.9.1",
  86. "rollup-plugin-visualizer": "^5.8.2",
  87. "stylelint": "^14.13.0",
  88. "stylelint-config-prettier": "^9.0.3",
  89. "stylelint-config-rational-order": "^0.1.2",
  90. "stylelint-config-recommended-vue": "^1.4.0",
  91. "stylelint-config-standard": "^29.0.0",
  92. "stylelint-order": "^5.0.0",
  93. "typescript": "^4.8.4",
  94. "unplugin-vue-components": "^0.24.1",
  95. "vite": "^3.2.5",
  96. "vite-plugin-compression": "^0.5.1",
  97. "vite-plugin-eslint": "^1.8.1",
  98. "vite-plugin-imagemin": "^0.6.1",
  99. "vite-plugin-mock": "^2.9.6",
  100. "vite-svg-loader": "^3.6.0",
  101. "vue-tsc": "^1.0.14"
  102. },
  103. "engines": {
  104. "node": ">=14.0.0"
  105. },
  106. "resolutions": {
  107. "bin-wrapper": "npm:bin-wrapper-china",
  108. "rollup": "^2.56.3",
  109. "gifsicle": "5.2.0"
  110. }
  111. }