package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "name": "pure-admin-thin",
  3. "version": "4.5.0",
  4. "private": true,
  5. "scripts": {
  6. "dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
  7. "serve": "pnpm dev",
  8. "build": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build",
  9. "build:staging": "rimraf dist && vite build --mode staging",
  10. "report": "rimraf dist && vite build",
  11. "preview": "vite preview",
  12. "preview:build": "pnpm build && vite preview",
  13. "typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
  14. "svgo": "svgo -f src/assets/svg -o src/assets/svg",
  15. "cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
  16. "clean:cache": "rimraf node_modules && rimraf .eslintcache && pnpm install",
  17. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
  18. "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
  19. "lint:stylelint": "stylelint \"**/*.{html,vue,css,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
  20. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  21. "lint:pretty": "pretty-quick --staged",
  22. "lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
  23. "prepare": "husky install",
  24. "preinstall": "npx only-allow pnpm"
  25. },
  26. "browserslist": [
  27. "> 1%",
  28. "not ie 11",
  29. "not op_mini all"
  30. ],
  31. "dependencies": {
  32. "@element-plus/icons-vue": "^2.1.0",
  33. "@pureadmin/descriptions": "^1.1.1",
  34. "@pureadmin/table": "^3.1.2",
  35. "@pureadmin/utils": "^1.9.6",
  36. "@vueuse/core": "^10.2.0",
  37. "@vueuse/motion": "^2.0.0",
  38. "animate.css": "^4.1.1",
  39. "axios": "^1.4.0",
  40. "dayjs": "^1.11.8",
  41. "decimal.js": "^10.4.3",
  42. "echarts": "^5.4.2",
  43. "element-plus": "2.3.6",
  44. "js-cookie": "^3.0.5",
  45. "js-md5": "^0.8.3",
  46. "mitt": "^3.0.0",
  47. "mockjs": "^1.1.0",
  48. "nprogress": "^0.2.0",
  49. "path": "^0.12.7",
  50. "pinia": "^2.1.4",
  51. "pinyin-pro": "^3.15.2",
  52. "qs": "^6.11.2",
  53. "responsive-storage": "^2.2.0",
  54. "sortablejs": "^1.15.0",
  55. "vue": "^3.3.4",
  56. "vue-router": "^4.2.2",
  57. "vue-tippy": "^6.4.1",
  58. "vue-types": "^5.1.0"
  59. },
  60. "devDependencies": {
  61. "@commitlint/cli": "^17.6.6",
  62. "@commitlint/config-conventional": "^17.6.6",
  63. "@iconify-icons/ep": "^1.2.12",
  64. "@iconify-icons/ri": "^1.2.9",
  65. "@iconify/vue": "^4.1.1",
  66. "@pureadmin/theme": "^3.1.0",
  67. "@types/js-cookie": "^3.0.3",
  68. "@types/mockjs": "^1.0.7",
  69. "@types/node": "^20.3.1",
  70. "@types/nprogress": "0.2.0",
  71. "@types/qs": "^6.9.7",
  72. "@types/sortablejs": "^1.15.1",
  73. "@typescript-eslint/eslint-plugin": "^5.60.0",
  74. "@typescript-eslint/parser": "^5.60.0",
  75. "@vitejs/plugin-vue": "^4.2.3",
  76. "@vitejs/plugin-vue-jsx": "^3.0.1",
  77. "@vue/eslint-config-prettier": "^7.1.0",
  78. "@vue/eslint-config-typescript": "^11.0.3",
  79. "autoprefixer": "^10.4.14",
  80. "cloc": "^2.11.0",
  81. "cssnano": "^6.0.1",
  82. "eslint": "^8.43.0",
  83. "eslint-plugin-prettier": "^4.2.1",
  84. "eslint-plugin-vue": "^9.15.1",
  85. "husky": "^8.0.3",
  86. "lint-staged": "^13.2.2",
  87. "picocolors": "^1.0.0",
  88. "postcss": "^8.4.24",
  89. "postcss-html": "^1.5.0",
  90. "postcss-import": "^15.1.0",
  91. "postcss-scss": "^4.0.6",
  92. "prettier": "^2.8.8",
  93. "pretty-quick": "^3.1.3",
  94. "rimraf": "^5.0.1",
  95. "rollup-plugin-visualizer": "^5.9.2",
  96. "sass": "^1.63.6",
  97. "sass-loader": "^13.3.2",
  98. "stylelint": "^15.9.0",
  99. "stylelint-config-html": "^1.1.0",
  100. "stylelint-config-recess-order": "^4.2.0",
  101. "stylelint-config-recommended": "^12.0.0",
  102. "stylelint-config-recommended-scss": "^12.0.0",
  103. "stylelint-config-recommended-vue": "^1.4.0",
  104. "stylelint-config-standard": "^33.0.0",
  105. "stylelint-config-standard-scss": "^9.0.0",
  106. "stylelint-order": "^6.0.3",
  107. "stylelint-prettier": "^3.0.0",
  108. "stylelint-scss": "^5.0.1",
  109. "svgo": "^3.0.2",
  110. "tailwindcss": "^3.3.2",
  111. "terser": "^5.18.1",
  112. "typescript": "5.0.4",
  113. "vite": "^4.3.9",
  114. "vite-plugin-cdn-import": "^0.3.5",
  115. "vite-plugin-compression": "^0.5.1",
  116. "vite-plugin-mock": "2.9.6",
  117. "vite-plugin-remove-console": "^2.1.1",
  118. "vite-svg-loader": "^4.0.0",
  119. "vue-eslint-parser": "^9.3.1",
  120. "vue-tsc": "^1.8.1"
  121. },
  122. "pnpm": {
  123. "peerDependencyRules": {
  124. "ignoreMissing": [
  125. "rollup",
  126. "webpack",
  127. "core-js"
  128. ]
  129. },
  130. "allowedDeprecatedVersions": {
  131. "sourcemap-codec": "*",
  132. "w3c-hr-time": "*",
  133. "stable": "*"
  134. }
  135. },
  136. "repository": "git@github.com:pure-admin/pure-admin-thin.git",
  137. "author": "xiaoxian521",
  138. "license": "MIT"
  139. }