package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "admin-algo",
  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:dev": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build --mode=development",
  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,mock,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. "@pureadmin/descriptions": "^1.1.1",
  34. "@pureadmin/table": "^2.3.2",
  35. "@pureadmin/utils": "^1.9.6",
  36. "@vueuse/core": "^10.2.0",
  37. "@vueuse/motion": "^2.0.0",
  38. "@wangeditor/editor": "^5.1.23",
  39. "@wangeditor/editor-for-vue": "^5.1.12",
  40. "ace-builds": "^1.23.4",
  41. "ali-oss": "^6.18.0",
  42. "animate.css": "^4.1.1",
  43. "autofit.js": "^3.1.0",
  44. "axios": "^1.4.0",
  45. "brace": "^0.11.1",
  46. "dayjs": "^1.11.8",
  47. "echarts": "^5.4.2",
  48. "element-plus": "2.4.3",
  49. "js-cookie": "^3.0.5",
  50. "mitt": "^3.0.0",
  51. "mockjs": "^1.1.0",
  52. "moment": "^2.30.1",
  53. "nprogress": "^0.2.0",
  54. "path": "^0.12.7",
  55. "pinia": "^2.1.4",
  56. "pinyin-pro": "^3.15.2",
  57. "qs": "^6.11.2",
  58. "responsive-storage": "^2.2.0",
  59. "sortablejs": "^1.15.0",
  60. "vue": "^3.3.4",
  61. "vue-json-viewer": "3",
  62. "vue-router": "^4.2.2",
  63. "vue-types": "^5.1.0",
  64. "vue3-ace-editor": "^2.2.3",
  65. "vuedraggable": "^4.1.0"
  66. },
  67. "devDependencies": {
  68. "@commitlint/cli": "^17.6.6",
  69. "@commitlint/config-conventional": "^17.6.6",
  70. "@iconify-icons/ep": "^1.2.12",
  71. "@iconify-icons/ri": "^1.2.9",
  72. "@iconify/vue": "^4.1.1",
  73. "@pureadmin/theme": "^3.1.0",
  74. "@types/js-cookie": "^3.0.3",
  75. "@types/mockjs": "^1.0.7",
  76. "@types/node": "^20.3.1",
  77. "@types/nprogress": "0.2.0",
  78. "@types/qs": "^6.9.7",
  79. "@types/sortablejs": "^1.15.1",
  80. "@typescript-eslint/eslint-plugin": "^5.60.0",
  81. "@typescript-eslint/parser": "^5.60.0",
  82. "@vitejs/plugin-vue": "^4.2.3",
  83. "@vitejs/plugin-vue-jsx": "^3.0.1",
  84. "@vue/eslint-config-prettier": "^7.1.0",
  85. "@vue/eslint-config-typescript": "^11.0.3",
  86. "autoprefixer": "^10.4.14",
  87. "cloc": "^2.11.0",
  88. "cssnano": "^6.0.1",
  89. "eslint": "^8.43.0",
  90. "eslint-plugin-prettier": "^4.2.1",
  91. "eslint-plugin-vue": "^9.15.1",
  92. "husky": "^8.0.3",
  93. "lint-staged": "^13.2.2",
  94. "picocolors": "^1.0.0",
  95. "postcss": "^8.4.24",
  96. "postcss-html": "^1.5.0",
  97. "postcss-import": "^15.1.0",
  98. "postcss-scss": "^4.0.6",
  99. "prettier": "^2.8.8",
  100. "pretty-quick": "^3.1.3",
  101. "rimraf": "^5.0.1",
  102. "rollup-plugin-visualizer": "^5.9.2",
  103. "sass": "^1.63.6",
  104. "sass-loader": "^13.3.2",
  105. "stylelint": "^15.9.0",
  106. "stylelint-config-html": "^1.1.0",
  107. "stylelint-config-recess-order": "^4.2.0",
  108. "stylelint-config-recommended": "^12.0.0",
  109. "stylelint-config-recommended-scss": "^12.0.0",
  110. "stylelint-config-recommended-vue": "^1.4.0",
  111. "stylelint-config-standard": "^33.0.0",
  112. "stylelint-config-standard-scss": "^9.0.0",
  113. "stylelint-order": "^6.0.3",
  114. "stylelint-prettier": "^3.0.0",
  115. "stylelint-scss": "^5.0.1",
  116. "svgo": "^3.0.2",
  117. "tailwindcss": "^3.3.2",
  118. "terser": "^5.18.1",
  119. "typescript": "5.0.4",
  120. "vite": "^4.3.9",
  121. "vite-plugin-cdn-import": "^0.3.5",
  122. "vite-plugin-compression": "^0.5.1",
  123. "vite-plugin-mock": "2.9.6",
  124. "vite-plugin-remove-console": "^2.1.1",
  125. "vite-svg-loader": "^4.0.0",
  126. "vue-eslint-parser": "^9.3.1",
  127. "vue-tsc": "^1.8.1"
  128. },
  129. "pnpm": {
  130. "peerDependencyRules": {
  131. "ignoreMissing": [
  132. "rollup",
  133. "webpack",
  134. "core-js"
  135. ]
  136. },
  137. "allowedDeprecatedVersions": {
  138. "sourcemap-codec": "*",
  139. "w3c-hr-time": "*",
  140. "stable": "*"
  141. }
  142. },
  143. "repository": "",
  144. "author": "",
  145. "license": "MIT"
  146. }