package.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "name": "pure-admin-thin",
  3. "version": "5.3.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:dev": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build --mode development",
  11. "build:pro": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build --mode production",
  12. "build:staging": "rimraf dist && vite build --mode staging",
  13. "report": "rimraf dist && vite build",
  14. "preview": "vite preview",
  15. "preview:build": "pnpm build && vite preview",
  16. "typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
  17. "svgo": "svgo -f . -r",
  18. "cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
  19. "clean:cache": "rimraf .eslintcache && rimraf pnpm-lock.yaml && rimraf node_modules && pnpm store prune && pnpm install",
  20. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
  21. "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
  22. "lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache-location node_modules/.cache/stylelint/",
  23. "lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
  24. "prepare": "husky",
  25. "preinstall": "npx only-allow pnpm"
  26. },
  27. "keywords": [
  28. "vue-pure-admin",
  29. "element-plus",
  30. "tailwindcss",
  31. "pure-admin",
  32. "typescript",
  33. "pinia",
  34. "vue3",
  35. "vite",
  36. "esm"
  37. ],
  38. "homepage": "https://github.com/pure-admin/pure-admin-thin",
  39. "repository": {
  40. "type": "git",
  41. "url": "git+https://github.com/pure-admin/pure-admin-thin.git"
  42. },
  43. "bugs": {
  44. "url": "https://github.com/pure-admin/pure-admin-thin/issues"
  45. },
  46. "license": "MIT",
  47. "author": {
  48. "name": "xiaoxian521",
  49. "email": "pureadmin@163.com",
  50. "url": "https://github.com/xiaoxian521"
  51. },
  52. "dependencies": {
  53. "@element-plus/icons-vue": "^2.3.1",
  54. "@pureadmin/descriptions": "^1.2.1",
  55. "@pureadmin/table": "^3.1.2",
  56. "@pureadmin/utils": "^2.4.7",
  57. "@vueuse/core": "^10.9.0",
  58. "@vueuse/motion": "^2.1.0",
  59. "animate.css": "^4.1.1",
  60. "axios": "^1.6.8",
  61. "dayjs": "^1.11.10",
  62. "decimal.js": "^10.4.3",
  63. "default-passive-events": "^2.0.0",
  64. "echarts": "^5.5.0",
  65. "element-plus": "^2.6.2",
  66. "js-cookie": "^3.0.5",
  67. "jsencrypt": "^3.3.2",
  68. "localforage": "^1.10.0",
  69. "mitt": "^3.0.1",
  70. "nprogress": "^0.2.0",
  71. "path": "^0.12.7",
  72. "pinia": "^2.1.7",
  73. "pinyin-pro": "^3.19.6",
  74. "qs": "^6.12.0",
  75. "responsive-storage": "^2.2.0",
  76. "sortablejs": "^1.15.2",
  77. "vue": "^3.4.21",
  78. "vue-draggable-plus": "^0.5.4",
  79. "vue-router": "^4.3.0",
  80. "vue-tippy": "^6.4.1",
  81. "vue-types": "^5.1.1",
  82. "xlsx": "^0.18.5"
  83. },
  84. "devDependencies": {
  85. "@commitlint/cli": "^19.2.1",
  86. "@commitlint/config-conventional": "^19.1.0",
  87. "@commitlint/types": "^19.0.3",
  88. "@eslint/js": "^8.57.0",
  89. "@faker-js/faker": "^8.4.1",
  90. "@iconify-icons/ep": "^1.2.12",
  91. "@iconify-icons/ri": "^1.2.10",
  92. "@iconify/vue": "^4.1.1",
  93. "@pureadmin/theme": "^3.2.0",
  94. "@types/gradient-string": "^1.1.5",
  95. "@types/js-cookie": "^3.0.6",
  96. "@types/node": "^20.11.30",
  97. "@types/nprogress": "^0.2.3",
  98. "@types/qs": "^6.9.14",
  99. "@types/sortablejs": "^1.15.8",
  100. "@typescript-eslint/eslint-plugin": "^7.4.0",
  101. "@typescript-eslint/parser": "^7.4.0",
  102. "@vitejs/plugin-vue": "^5.0.4",
  103. "@vitejs/plugin-vue-jsx": "^3.1.0",
  104. "autoprefixer": "^10.4.19",
  105. "boxen": "^7.1.1",
  106. "cloc": "^2.11.0",
  107. "cssnano": "^6.1.2",
  108. "eslint": "^8.57.0",
  109. "eslint-config-prettier": "^9.1.0",
  110. "eslint-define-config": "^2.1.0",
  111. "eslint-plugin-prettier": "^5.1.3",
  112. "eslint-plugin-vue": "^9.24.0",
  113. "gradient-string": "^2.0.2",
  114. "husky": "^9.0.11",
  115. "lint-staged": "^15.2.2",
  116. "postcss": "^8.4.38",
  117. "postcss-html": "^1.6.0",
  118. "postcss-import": "^16.1.0",
  119. "postcss-scss": "^4.0.9",
  120. "prettier": "^3.2.5",
  121. "rimraf": "^5.0.5",
  122. "rollup-plugin-visualizer": "^5.12.0",
  123. "sass": "^1.72.0",
  124. "stylelint": "^16.3.1",
  125. "stylelint-config-recess-order": "^5.0.0",
  126. "stylelint-config-recommended-vue": "^1.5.0",
  127. "stylelint-config-standard-scss": "^13.0.0",
  128. "stylelint-prettier": "^5.0.0",
  129. "svgo": "^3.2.0",
  130. "tailwindcss": "^3.4.3",
  131. "typescript": "^5.4.3",
  132. "vite": "^5.2.6",
  133. "vite-plugin-cdn-import": "^0.3.5",
  134. "vite-plugin-compression": "^0.5.1",
  135. "vite-plugin-fake-server": "^2.1.1",
  136. "vite-plugin-remove-console": "^2.2.0",
  137. "vite-plugin-router-warn": "^1.0.0",
  138. "vite-svg-loader": "^5.1.0",
  139. "vue-eslint-parser": "^9.4.2",
  140. "vue-tsc": "^1.8.27"
  141. },
  142. "engines": {
  143. "node": "^18.18.0 || ^20.9.0 || >=21.1.0",
  144. "pnpm": ">=8.6.10"
  145. },
  146. "packageManager": "pnpm@8.6.10",
  147. "pnpm": {
  148. "allowedDeprecatedVersions": {
  149. "sourcemap-codec": "*",
  150. "domexception": "*",
  151. "w3c-hr-time": "*",
  152. "stable": "*",
  153. "abab": "*"
  154. }
  155. }
  156. }