package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {
  2. "name": "simple-admin",
  3. "version": "1.3.11",
  4. "homepage": "https://github.com/suyuan32/simple-admin-backend-ui",
  5. "bugs": {
  6. "url": "https://github.com/suyuan32/simple-admin-backend-ui/issues"
  7. },
  8. "repository": {
  9. "type": "git",
  10. "url": "git+https://github.com/suyuan32/simple-admin-backend-ui.git"
  11. },
  12. "license": "MIT",
  13. "author": {
  14. "name": "ryan",
  15. "email": "yuansu.china.work@gmail.com",
  16. "url": "https://github.com/suyuan32"
  17. },
  18. "type": "module",
  19. "scripts": {
  20. "bootstrap": "pnpm install",
  21. "build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build",
  22. "build:analyze": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode analyze",
  23. "build:docker": "vite build --mode docker",
  24. "build:no-cache": "pnpm store prune && npm run build",
  25. "build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode test",
  26. "commit": "czg",
  27. "dev": "NODE_ENV=dev pnpm vite --config vite.config.dev.ts",
  28. "preinstall": "npx only-allow pnpm",
  29. "postinstall": "turbo run stub",
  30. "lint": "turbo run lint",
  31. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  32. "lint:prettier": "prettier --write .",
  33. "lint:stylelint": "stylelint \"**/*.{vue,css,less,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
  34. "prepare": "husky install",
  35. "preview": "npm run build && vite preview",
  36. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  37. "serve": "npm run dev",
  38. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  39. "type:check": "vue-tsc --noEmit --skipLibCheck"
  40. },
  41. "lint-staged": {
  42. "*.{js,jsx,ts,tsx}": [
  43. "prettier --write",
  44. "eslint --fix"
  45. ],
  46. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  47. "prettier --write--parser json"
  48. ],
  49. "package.json": [
  50. "prettier --write"
  51. ],
  52. "*.vue": [
  53. "prettier --write",
  54. "eslint --fix",
  55. "stylelint --fix"
  56. ],
  57. "*.{scss,less,styl,html}": [
  58. "prettier --write",
  59. "stylelint --fix"
  60. ],
  61. "*.md": [
  62. "prettier --write"
  63. ]
  64. },
  65. "config": {
  66. "commitizen": {
  67. "path": "node_modules/cz-git"
  68. }
  69. },
  70. "dependencies": {
  71. "@ant-design/icons-vue": "^7.0.1",
  72. "@axolo/tree-array": "^0.1.0",
  73. "@codemirror/lang-json": "^6.0.1",
  74. "@codemirror/language": "^6.10.2",
  75. "@codemirror/legacy-modes": "^6.4.0",
  76. "@iconify/iconify": "^3.1.1",
  77. "@logicflow/core": "^1.2.27",
  78. "@logicflow/extension": "^1.2.27",
  79. "@uiw/codemirror-theme-github": "^4.22.2",
  80. "@uponu/vuedraggable": "^4.1.3",
  81. "@vben/hooks": "workspace:*",
  82. "@vue/shared": "^3.4.29",
  83. "@vueuse/core": "^10.11.0",
  84. "@vueuse/shared": "^10.11.0",
  85. "@zxcvbn-ts/core": "^3.0.4",
  86. "ant-design-vue": "^4.2.3",
  87. "axios": "^1.7.2",
  88. "codemirror": "^6.0.1",
  89. "cropperjs": "^1.6.2",
  90. "crypto-js": "^4.2.0",
  91. "dayjs": "^1.11.11",
  92. "echarts": "^5.5.0",
  93. "exceljs": "^4.4.0",
  94. "file2md5": "^1.3.0",
  95. "lodash-es": "^4.17.21",
  96. "mockjs": "^1.1.0",
  97. "nprogress": "^0.2.0",
  98. "path-to-regexp": "^6.2.2",
  99. "pinia": "2.1.7",
  100. "pinia-plugin-persistedstate": "^3.2.1",
  101. "print-js": "^1.6.0",
  102. "qs": "^6.12.1",
  103. "resize-observer-polyfill": "^1.5.1",
  104. "showdown": "^2.1.0",
  105. "sortablejs": "^1.15.2",
  106. "split.js": "^1.6.5",
  107. "tinymce": "^6.8.3",
  108. "unocss": "^0.58.9",
  109. "vditor": "^3.10.4",
  110. "vue": "^3.4.29",
  111. "vue-clipboard3": "^2.0.0",
  112. "vue-codemirror": "^6.1.1",
  113. "vue-i18n": "^9.13.1",
  114. "vue-json-pretty": "^2.4.0",
  115. "vue-router": "^4.3.3",
  116. "vue-types": "^5.1.2",
  117. "vuedraggable": "^4.1.0",
  118. "vxe-table": "^4.7.17",
  119. "vxe-table-plugin-export-xlsx": "^4.0.2",
  120. "xe-utils": "^3.5.27",
  121. "xlsx": "^0.18.5"
  122. },
  123. "devDependencies": {
  124. "@commitlint/cli": "^18.6.1",
  125. "@commitlint/config-conventional": "^18.6.3",
  126. "@iconify/json": "^2.2.220",
  127. "@purge-icons/generated": "^0.10.0",
  128. "@types/codemirror": "^5.60.15",
  129. "@types/crypto-js": "^4.2.2",
  130. "@types/lodash-es": "^4.17.12",
  131. "@types/mockjs": "^1.0.10",
  132. "@types/nprogress": "^0.2.3",
  133. "@types/qs": "^6.9.15",
  134. "@types/showdown": "^2.0.6",
  135. "@types/sortablejs": "^1.15.8",
  136. "@vben/eslint-config": "workspace:*",
  137. "@vben/stylelint-config": "workspace:*",
  138. "@vben/ts-config": "workspace:*",
  139. "@vben/types": "workspace:*",
  140. "@vben/vite-config": "workspace:*",
  141. "@vue/compiler-sfc": "^3.4.29",
  142. "@vue/test-utils": "^2.4.6",
  143. "babel-plugin-import": "^1.13.8",
  144. "cross-env": "^7.0.3",
  145. "cz-git": "^1.9.3",
  146. "czg": "^1.9.3",
  147. "husky": "^9.0.11",
  148. "lint-staged": "15.2.2",
  149. "prettier": "^3.3.2",
  150. "prettier-plugin-packagejson": "^2.5.0",
  151. "rimraf": "^5.0.7",
  152. "turbo": "^1.13.4",
  153. "typescript": "^5.4.5",
  154. "unbuild": "^2.0.0",
  155. "vite": "^5.3.1",
  156. "vite-plugin-babel-import": "^2.0.5",
  157. "vite-plugin-mock": "^3.0.2",
  158. "vue-tsc": "^1.8.27"
  159. },
  160. "packageManager": "pnpm@8.10.0",
  161. "engines": {
  162. "node": ">=18.12.0",
  163. "pnpm": ">=8.10.0"
  164. }
  165. }