package.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "vue-admin",
  3. "version": "1.1.2",
  4. "private": true,
  5. "scripts": {
  6. "dev": "NODE_OPTIONS=--max-old-space-size=4096 vite --mode dev",
  7. "test": "NODE_OPTIONS=--max-old-space-size=4096 vite --mode test",
  8. "build:test": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build --mode test",
  9. "build:staging": "rimraf dist && vite build --mode staging",
  10. "build:online": "rimraf dist && vite build --mode online",
  11. "report": "rimraf dist && vite build",
  12. "preview": "vite preview",
  13. "preview:build": "pnpm build && vite preview",
  14. "typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
  15. "svgo": "svgo -f src/assets/svg -o src/assets/svg",
  16. "cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
  17. "clean:cache": "rimraf node_modules && rimraf .eslintcache && pnpm install",
  18. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
  19. "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
  20. "lint:stylelint": "stylelint \"**/*.{html,vue,css,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
  21. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  22. "lint:pretty": "pretty-quick --staged",
  23. "lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
  24. "prepare": "husky install",
  25. "preinstall": "npx only-allow pnpm"
  26. },
  27. "browserslist": [
  28. "> 1%",
  29. "not ie 11",
  30. "not op_mini all"
  31. ],
  32. "dependencies": {
  33. "@ctrl/tinycolor": "^3.6.0",
  34. "@vitejs/plugin-vue": "^4.2.3",
  35. "@vueuse/core": "^10.1.2",
  36. "@vueuse/motion": "2.0.0",
  37. "animate.css": "^4.1.1",
  38. "axios": "^1.4.0",
  39. "consola": "^3.1.0",
  40. "css-color-function": "^1.3.3",
  41. "dayjs": "^1.11.8",
  42. "element-plus": "^2.3.6",
  43. "element-resize-detector": "^1.2.4",
  44. "js-cookie": "^3.0.5",
  45. "lodash": "^4.17.21",
  46. "lodash-unified": "^1.0.3",
  47. "mitt": "^3.0.0",
  48. "nprogress": "^0.2.0",
  49. "path": "^0.12.7",
  50. "pinia": "^2.1.3",
  51. "qs": "^6.11.2",
  52. "resize-observer-polyfill": "^1.5.1",
  53. "responsive-storage": "^2.2.0",
  54. "rgb-hex": "^4.0.1",
  55. "unplugin-vue-components": "^0.25.1",
  56. "unplugin-vue-macros": "^2.3.0",
  57. "vue": "^3.3.4",
  58. "vue-json-pretty": "^2.2.4",
  59. "vue-router": "^4.2.2",
  60. "vue-types": "^5.0.3",
  61. "vxe-table": "^4.4.1",
  62. "vxe-table-plugin-element": "^3.0.7",
  63. "xe-utils": "^3.5.11"
  64. },
  65. "devDependencies": {
  66. "@commitlint/cli": "17.6.5",
  67. "@commitlint/config-conventional": "17.6.5",
  68. "@iconify-json/ant-design": "^1.1.5",
  69. "@iconify-json/carbon": "^1.1.18",
  70. "@iconify-json/ci": "^1.1.9",
  71. "@iconify-json/ep": "^1.1.10",
  72. "@iconify-json/fe": "^1.1.6",
  73. "@iconify-json/ic": "^1.1.13",
  74. "@iconify-json/line-md": "^1.1.25",
  75. "@iconify-json/logos": "^1.1.32",
  76. "@iconify-json/material-symbols": "^1.1.47",
  77. "@iconify-json/mdi": "^1.1.52",
  78. "@iconify-json/ri": "^1.1.9",
  79. "@iconify-json/tabler": "^1.1.79",
  80. "@types/element-resize-detector": "1.1.3",
  81. "@types/js-cookie": "^3.0.3",
  82. "@types/lodash": "^4.14.195",
  83. "@types/node": "20.3.0",
  84. "@types/nprogress": "0.2.0",
  85. "@types/qs": "^6.9.7",
  86. "@typescript-eslint/eslint-plugin": "^5.59.11",
  87. "@typescript-eslint/parser": "^5.59.11",
  88. "@vitejs/plugin-vue-jsx": "^3.0.1",
  89. "@vue-macros/reactivity-transform": "^0.3.10",
  90. "@vue/eslint-config-prettier": "^7.1.0",
  91. "@vue/eslint-config-typescript": "^11.0.3",
  92. "@vue/runtime-core": "^3.3.4",
  93. "autoprefixer": "^10.4.14",
  94. "eslint": "8.42.0",
  95. "eslint-plugin-prettier": "^4.2.1",
  96. "eslint-plugin-vue": "^9.14.1",
  97. "husky": "8.0.3",
  98. "lint-staged": "13.2.2",
  99. "picocolors": "^1.0.0",
  100. "postcss": "^8.4.24",
  101. "postcss-html": "^1.5.0",
  102. "postcss-import": "15.1.0",
  103. "postcss-scss": "^4.0.6",
  104. "prettier": "^2.8.8",
  105. "pretty-quick": "3.1.3",
  106. "rollup": "^3.25.1",
  107. "rollup-plugin-visualizer": "^5.9.2",
  108. "sass": "^1.63.3",
  109. "stylelint": "^15.7.0",
  110. "stylelint-config-html": "^1.1.0",
  111. "stylelint-config-recess-order": "^4.2.0",
  112. "stylelint-config-recommended": "^12.0.0",
  113. "stylelint-config-recommended-scss": "^11.0.0",
  114. "stylelint-config-recommended-vue": "^1.4.0",
  115. "stylelint-config-standard": "^33.0.0",
  116. "stylelint-config-standard-scss": "^9.0.0",
  117. "stylelint-order": "^6.0.3",
  118. "stylelint-prettier": "^3.0.0",
  119. "stylelint-scss": "^5.0.1",
  120. "svgo": "^3.0.2",
  121. "typescript": "^5.1.3",
  122. "unplugin-auto-import": "^0.16.4",
  123. "unplugin-icons": "^0.16.3",
  124. "vite": "^4.3.9",
  125. "vite-plugin-remove-console": "^2.1.1",
  126. "vite-plugin-vue-setup-extend": "^0.4.0",
  127. "vite-plugin-windicss": "^1.9.0",
  128. "vite-svg-loader": "4.0.0",
  129. "vue-eslint-parser": "^9.3.1",
  130. "windicss": "^3.5.6"
  131. },
  132. "pnpm": {
  133. "peerDependencyRules": {
  134. "ignoreMissing": [
  135. "rollup",
  136. "webpack",
  137. "core-js"
  138. ]
  139. },
  140. "allowedDeprecatedVersions": {
  141. "sourcemap-codec": "*",
  142. "w3c-hr-time": "*",
  143. "stable": "*"
  144. }
  145. }
  146. }