package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name": "pure-admin-thin",
  3. "version": "4.5.0",
  4. "private": true,
  5. "type": "module",
  6. "scripts": {
  7. "dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
  8. "serve": "pnpm dev",
  9. "build": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build",
  10. "build:staging": "rimraf dist && vite build --mode staging",
  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,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. "@element-plus/icons-vue": "^2.3.1",
  34. "@pureadmin/descriptions": "^1.2.0",
  35. "@pureadmin/table": "^3.0.2",
  36. "@pureadmin/utils": "^2.4.4",
  37. "@types/jsrsasign": "^10.5.8",
  38. "@vueuse/core": "^10.7.2",
  39. "@vueuse/motion": "^2.0.0",
  40. "animate.css": "^4.1.1",
  41. "axios": "^1.6.3",
  42. "dayjs": "^1.11.9",
  43. "echarts": "^5.4.3",
  44. "element-plus": "^2.5.6",
  45. "js-cookie": "^3.0.5",
  46. "jsrsasign": "^10.8.6",
  47. "jsrsasign-util": "^1.0.5",
  48. "mitt": "^3.0.1",
  49. "nprogress": "^0.2.0",
  50. "path": "^0.12.7",
  51. "pinia": "^2.1.6",
  52. "pinyin-pro": "^3.18.2",
  53. "qs": "^6.11.2",
  54. "responsive-storage": "^2.2.0",
  55. "sortablejs": "^1.15.0",
  56. "typeit": "^8.8.0",
  57. "vue": "^3.4.15",
  58. "vue-clipboard3": "^2.0.0",
  59. "vue-router": "^4.2.4",
  60. "vue-types": "^5.1.1",
  61. "vue3-json-viewer": "^2.2.2"
  62. },
  63. "devDependencies": {
  64. "@iconify-icons/ep": "^1.2.12",
  65. "@iconify-icons/ri": "^1.2.10",
  66. "@iconify/vue": "^4.1.1",
  67. "@pureadmin/theme": "^3.2.0",
  68. "@types/js-cookie": "^3.0.3",
  69. "@types/node": "^20.5.3",
  70. "@types/nprogress": "0.2.0",
  71. "@types/qs": "^6.9.7",
  72. "@types/sortablejs": "^1.15.1",
  73. "@typescript-eslint/eslint-plugin": "^6.4.1",
  74. "@typescript-eslint/parser": "^6.4.1",
  75. "@vitejs/plugin-vue": "^4.5.0",
  76. "@vitejs/plugin-vue-jsx": "^3.1.0",
  77. "@vue/eslint-config-prettier": "^7.1.0",
  78. "@vue/eslint-config-typescript": "^11.0.3",
  79. "autoprefixer": "^10.4.15",
  80. "cloc": "^2.11.0",
  81. "cssnano": "^6.0.1",
  82. "eslint": "^8.43.0",
  83. "eslint-define-config": "^2.1.0",
  84. "eslint-plugin-prettier": "^5.0.0",
  85. "eslint-plugin-vue": "^9.15.1",
  86. "husky": "^8.0.3",
  87. "lint-staged": "^13.2.2",
  88. "picocolors": "^1.0.0",
  89. "postcss": "^8.4.31",
  90. "postcss-html": "^1.5.0",
  91. "postcss-import": "^15.1.0",
  92. "postcss-scss": "^4.0.6",
  93. "prettier": "^3.2.4",
  94. "pretty-quick": "^4.0.0",
  95. "rimraf": "^5.0.1",
  96. "rollup-plugin-visualizer": "^5.9.2",
  97. "sass": "^1.66.1",
  98. "sass-loader": "^13.3.2",
  99. "stylelint": "^15.10.3",
  100. "stylelint-config-html": "^1.1.0",
  101. "stylelint-config-recess-order": "^4.3.0",
  102. "stylelint-config-recommended": "^13.0.0",
  103. "stylelint-config-recommended-scss": "^12.0.0",
  104. "stylelint-config-recommended-vue": "^1.5.0",
  105. "stylelint-config-standard": "^34.0.0",
  106. "stylelint-config-standard-scss": "^10.0.0",
  107. "stylelint-order": "^6.0.3",
  108. "stylelint-prettier": "^4.0.2",
  109. "stylelint-scss": "^5.1.0",
  110. "svgo": "^3.0.2",
  111. "tailwindcss": "^3.3.3",
  112. "terser": "^5.19.2",
  113. "typescript": "5.1.6",
  114. "vite": "^5.1.3",
  115. "vite-plugin-cdn-import": "^0.3.5",
  116. "vite-plugin-compression": "^0.5.1",
  117. "vite-plugin-remove-console": "^2.1.1",
  118. "vite-plugin-svg-icons": "^2.0.1",
  119. "vite-svg-loader": "^4.0.0",
  120. "vue-eslint-parser": "^9.3.1",
  121. "vue-tsc": "^1.8.8"
  122. },
  123. "pnpm": {
  124. "peerDependencyRules": {
  125. "ignoreMissing": [
  126. "rollup",
  127. "webpack",
  128. "core-js"
  129. ]
  130. },
  131. "allowedDeprecatedVersions": {
  132. "sourcemap-codec": "*",
  133. "w3c-hr-time": "*",
  134. "stable": "*"
  135. }
  136. },
  137. "license": "MIT"
  138. }