package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. {
  2. "name": "fan-admin-cn",
  3. "version": "1.0.0",
  4. "private": true,
  5. "scripts": {
  6. "dev": "NODE_OPTIONS=--max-old-space-size=8192 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": "rm -rf node_modules && rm -rf .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,less,scss,vue,html,md}\"",
  19. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --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. "postBuild": "esno ./build/script/postBuild.ts"
  26. },
  27. "browserslist": [
  28. "> 1%",
  29. "not ie 11",
  30. "not op_mini all"
  31. ],
  32. "dependencies": {
  33. "@ant-design/icons-vue": "^6.1.0",
  34. "@codemirror/commands": "^6.2.2",
  35. "@codemirror/lang-java": "^6.0.1",
  36. "@codemirror/lang-javascript": "^6.1.4",
  37. "@codemirror/lang-json": "^6.0.1",
  38. "@codemirror/state": "^6.2.0",
  39. "@codemirror/view": "^6.9.2",
  40. "@highlightjs/vue-plugin": "^2.1.0",
  41. "@pureadmin/utils": "^1.8.5",
  42. "@vueuse/core": "^10.1.2",
  43. "@vueuse/motion": "2.0.0",
  44. "@wangeditor/editor": "^5.1.23",
  45. "@wangeditor/editor-for-vue": "^5.1.12",
  46. "animate.css": "^4.1.1",
  47. "ant-design-vue": "^3.2.20",
  48. "axios": "^1.2.2",
  49. "bpmn-js": "^11.5.0",
  50. "bpmn-js-properties-panel": "^1.20.0",
  51. "clipboard": "^2.0.11",
  52. "codemirror": "^6.0.1",
  53. "crypto-js": "^4.1.1",
  54. "dayjs": "^1.11.6",
  55. "dotenv": "^16.0.3",
  56. "echarts": "^5.4.0",
  57. "element-resize-detector": "^1.2.4",
  58. "highlight.js": "^11.7.0",
  59. "js-cookie": "^3.0.1",
  60. "lodash-es": "^4.17.21",
  61. "mitt": "^3.0.0",
  62. "mockjs": "^1.1.0",
  63. "nanoid": "^4.0.1",
  64. "nprogress": "^0.2.0",
  65. "path": "^0.12.7",
  66. "pinia": "^2.0.28",
  67. "qs": "^6.11.0",
  68. "responsive-storage": "^2.1.0",
  69. "sortablejs": "^1.15.0",
  70. "vue": "^3.2.45",
  71. "vue-json-pretty": "^2.2.3",
  72. "vue-plugin-hiprint": "^0.0.46",
  73. "vue-router": "^4.1.6",
  74. "vue-types": "^4.2.1",
  75. "vue3-colorpicker": "^2.1.2",
  76. "xlsx": "^0.18.5"
  77. },
  78. "devDependencies": {
  79. "@commitlint/cli": "13.1.0",
  80. "@commitlint/config-conventional": "13.1.0",
  81. "@pureadmin/theme": "^3.0.0",
  82. "@types/element-resize-detector": "1.1.3",
  83. "@types/js-cookie": "^3.0.1",
  84. "@types/lodash-es": "^4.17.6",
  85. "@types/mockjs": "^1.0.7",
  86. "@types/node": "^18.11.9",
  87. "@types/nprogress": "0.2.0",
  88. "@types/qs": "^6.9.7",
  89. "@typescript-eslint/eslint-plugin": "^5.42.1",
  90. "@typescript-eslint/parser": "^5.42.1",
  91. "@vitejs/plugin-legacy": "^4.0.1",
  92. "@vitejs/plugin-vue": "^4.0.0",
  93. "@vitejs/plugin-vue-jsx": "^3.0.0",
  94. "@vue/eslint-config-prettier": "^7.0.0",
  95. "@vue/eslint-config-typescript": "^11.0.2",
  96. "autoprefixer": "^10.4.13",
  97. "cloc": "^2.10.0",
  98. "color": "^4.2.3",
  99. "cssnano": "^5.1.14",
  100. "eslint": "^8.8.0",
  101. "eslint-plugin-prettier": "^4.0.0",
  102. "eslint-plugin-vue": "^9.7.0",
  103. "esno": "^0.16.3",
  104. "fs-extra": "^11.1.0",
  105. "husky": "^7.0.4",
  106. "less": "^4.1.3",
  107. "lint-staged": "11.1.2",
  108. "picocolors": "^1.0.0",
  109. "postcss": "^8.4.18",
  110. "postcss-html": "^1.5.0",
  111. "postcss-import": "^15.0.0",
  112. "postcss-less": "^6.0.0",
  113. "prettier": "^2.5.1",
  114. "pretty-quick": "3.1.1",
  115. "rimraf": "3.0.2",
  116. "rollup-plugin-visualizer": "^5.8.3",
  117. "stylelint": "^15.6.1",
  118. "stylelint-config-html": "^1.0.0",
  119. "stylelint-config-prettier": "^9.0.3",
  120. "stylelint-config-recommended": "^9.0.0",
  121. "stylelint-config-standard": "^29.0.0",
  122. "stylelint-order": "^5.0.0",
  123. "svgo": "^3.0.2",
  124. "tailwindcss": "^3.2.7",
  125. "terser": "^5.16.5",
  126. "typescript": "^4.9.5",
  127. "unplugin-imagemin": "^0.3.11",
  128. "unplugin-vue-define-options": "^1.3.3",
  129. "vite": "^4.3.5",
  130. "vite-plugin-cdn-import": "^0.3.5",
  131. "vite-plugin-compression": "^0.5.1",
  132. "vite-plugin-html": "^3.2.0",
  133. "vite-plugin-mock": "^2.9.6",
  134. "vite-plugin-pwa": "^0.14.4",
  135. "vite-plugin-remove-console": "^2.1.0",
  136. "vite-plugin-style-import": "^2.0.0",
  137. "vite-plugin-svg-icons": "^2.0.1",
  138. "vite-svg-loader": "^4.0.0",
  139. "vue-eslint-parser": "^9.1.0",
  140. "vue-tsc": "^1.2.0"
  141. },
  142. "pnpm": {
  143. "peerDependencyRules": {
  144. "ignoreMissing": [
  145. "rollup",
  146. "webpack"
  147. ]
  148. }
  149. },
  150. "engines": {
  151. "node": ">=16.15.1",
  152. "pnpm": ">=8.0.0"
  153. },
  154. "repository": "",
  155. "author": "fan",
  156. "license": "MIT"
  157. }