package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "name": "Report",
  3. "version": "0.1.0",
  4. "author": {
  5. "name": "qianlishi",
  6. "email": "1432731663@qq.com"
  7. },
  8. "private": true,
  9. "scripts": {
  10. "bootstrap": "pnpm install",
  11. "serve": "pnpm run dev",
  12. "dev": "vite",
  13. "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
  14. "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  15. "build:no-cache": "pnpm clean:cache && pnpm run build",
  16. "report": "cross-env REPORT=true pnpm run build",
  17. "type:check": "vue-tsc --noEmit --skipLibCheck",
  18. "preview": "pnpm run build && vite preview",
  19. "preview:dist": "vite preview",
  20. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  21. "clean:lib": "rimraf node_modules",
  22. "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  23. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  24. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  25. "lint:pretty": "pretty-quick --staged",
  26. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && pnpm run bootstrap"
  27. },
  28. "dependencies": {
  29. "@vicons/antd": "^0.10.0",
  30. "@vicons/ionicons5": "^0.10.0",
  31. "@vueup/vue-quill": "1.0.0-beta.8",
  32. "@vueuse/components": "^11.2.0",
  33. "@vueuse/core": "^10.11.0",
  34. "@wecom/jssdk": "^2.2.3",
  35. "axios": "^1.7.2",
  36. "cropperjs": "^1.6.2",
  37. "date-fns": "^2.30.0",
  38. "dayjs": "^1.11.13",
  39. "echarts": "^5.5.1",
  40. "element-resize-detector": "^1.2.4",
  41. "lodash-es": "^4.17.21",
  42. "mockjs": "^1.1.0",
  43. "naive-ui": "^2.40.1",
  44. "perfect-scrollbar": "^1.5.5",
  45. "pinia": "^2.2.5",
  46. "pinia-plugin-persistedstate": "^2.4.0",
  47. "print-js": "^1.6.0",
  48. "qrcode": "^1.5.3",
  49. "qs": "^6.12.3",
  50. "swiper": "^11.1.14",
  51. "uuid": "^11.0.3",
  52. "vue": "^3.5.12",
  53. "vue-draggable-next": "^2.2.1",
  54. "vue-i18n": "9.2.2",
  55. "vue-router": "^4.4.0",
  56. "vue-types": "^4.2.1"
  57. },
  58. "devDependencies": {
  59. "@types/element-resize-detector": "^1.1.6",
  60. "@types/lodash-es": "^4.17.12",
  61. "@types/node": "^20.14.11",
  62. "@types/qrcode": "^1.5.5",
  63. "@typescript-eslint/eslint-plugin": "^4.33.0",
  64. "@typescript-eslint/parser": "^4.33.0",
  65. "@vitejs/plugin-vue": "^4.6.2",
  66. "@vitejs/plugin-vue-jsx": "^3.1.0",
  67. "@vue/compiler-sfc": "^3.4.33",
  68. "@vue/eslint-config-typescript": "^7.0.0",
  69. "autoprefixer": "^10.4.19",
  70. "commitizen": "^4.3.0",
  71. "core-js": "^3.37.1",
  72. "cross-env": "^7.0.3",
  73. "dotenv": "^10.0.0",
  74. "eslint": "^7.32.0",
  75. "eslint-config-prettier": "^8.10.0",
  76. "eslint-plugin-prettier": "^4.2.1",
  77. "eslint-plugin-vue": "^7.20.0",
  78. "esno": "^0.7.3",
  79. "fs-extra": "^10.1.0",
  80. "less": "^4.2.0",
  81. "less-loader": "^9.1.0",
  82. "lint-staged": "^11.2.6",
  83. "picocolors": "^1.0.1",
  84. "postcss": "^8.4.39",
  85. "prettier": "^2.8.8",
  86. "pretty-quick": "^3.3.1",
  87. "rimraf": "^3.0.2",
  88. "rollup-plugin-visualizer": "^5.12.0",
  89. "stylelint": "^16.7.0",
  90. "stylelint-config-prettier": "^8.0.2",
  91. "stylelint-config-standard": "^36.0.1",
  92. "stylelint-order": "^6.0.4",
  93. "tailwindcss": "^3.4.6",
  94. "ts-node": "^10.9.2",
  95. "typescript": "^4.9.5",
  96. "unplugin-vue-components": "^0.24.1",
  97. "vite": "^5.3.4",
  98. "vite-plugin-compression": "^0.3.6",
  99. "vite-plugin-html": "^3.2.2",
  100. "vite-plugin-mock": "^2.9.8",
  101. "vite-plugin-style-import": "^1.4.1",
  102. "vite-plugin-vue-setup-extend": "^0.4.0",
  103. "vue-eslint-parser": "^7.11.0",
  104. "vue-tsc": "^0.3.0",
  105. "vue-virtual-scroll-list": "^2.3.5",
  106. "vuedraggable": "^4.1.0",
  107. "xlsx": "^0.18.5"
  108. },
  109. "lint-staged": {
  110. "*.{vue,js,ts,tsx}": "eslint --fix"
  111. },
  112. "config": {
  113. "commitizen": {
  114. "path": "./node_modules/cz-customizable"
  115. }
  116. },
  117. "keywords": [
  118. "vue3",
  119. "vite",
  120. "ts",
  121. "naive-ui",
  122. "pinia"
  123. ],
  124. "engines": {
  125. "node": "^18 || >=20"
  126. },
  127. "pnpm": {
  128. "peerDependencyRules": {
  129. "ignoreMissing": [
  130. "rollup",
  131. "webpack"
  132. ]
  133. }
  134. }
  135. }