package.json 4.4 KB

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