package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {
  2. "name": "fan-admin-cn",
  3. "version": "1.0.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": "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. "@pureadmin/utils": "^1.8.5",
  41. "@vueuse/core": "^9.6.0",
  42. "@vueuse/motion": "2.0.0-beta.12",
  43. "animate.css": "^4.1.1",
  44. "ant-design-vue": "^3.2.15",
  45. "axios": "^1.2.2",
  46. "codemirror": "^6.0.1",
  47. "crypto-js": "^4.1.1",
  48. "dayjs": "^1.11.6",
  49. "dotenv": "^16.0.3",
  50. "echarts": "^5.4.0",
  51. "element-resize-detector": "^1.2.4",
  52. "js-cookie": "^3.0.1",
  53. "lodash-es": "^4.17.21",
  54. "mitt": "^3.0.0",
  55. "mockjs": "^1.1.0",
  56. "nanoid": "^4.0.1",
  57. "nprogress": "^0.2.0",
  58. "path": "^0.12.7",
  59. "pinia": "^2.0.28",
  60. "qs": "^6.11.0",
  61. "responsive-storage": "^2.1.0",
  62. "sortablejs": "^1.15.0",
  63. "vue": "^3.2.45",
  64. "vue-json-pretty": "^2.2.3",
  65. "vue-plugin-hiprint": "^0.0.46",
  66. "vue-router": "^4.1.6",
  67. "vue-types": "^4.2.1"
  68. },
  69. "devDependencies": {
  70. "@commitlint/cli": "13.1.0",
  71. "@commitlint/config-conventional": "13.1.0",
  72. "@pureadmin/theme": "^3.0.0",
  73. "@types/element-resize-detector": "1.1.3",
  74. "@types/js-cookie": "^3.0.1",
  75. "@types/lodash-es": "^4.17.6",
  76. "@types/mockjs": "^1.0.7",
  77. "@types/node": "^18.11.9",
  78. "@types/nprogress": "0.2.0",
  79. "@types/qs": "^6.9.7",
  80. "@typescript-eslint/eslint-plugin": "^5.42.1",
  81. "@typescript-eslint/parser": "^5.42.1",
  82. "@vitejs/plugin-legacy": "^4.0.1",
  83. "@vitejs/plugin-vue": "^4.0.0",
  84. "@vitejs/plugin-vue-jsx": "^3.0.0",
  85. "@vue/eslint-config-prettier": "^7.0.0",
  86. "@vue/eslint-config-typescript": "^11.0.2",
  87. "autoprefixer": "^10.4.13",
  88. "cloc": "^2.10.0",
  89. "color": "^4.2.3",
  90. "cssnano": "^5.1.14",
  91. "eslint": "^8.8.0",
  92. "eslint-plugin-prettier": "^4.0.0",
  93. "eslint-plugin-vue": "^9.7.0",
  94. "esno": "^0.16.3",
  95. "fs-extra": "^11.1.0",
  96. "husky": "^7.0.4",
  97. "less": "^4.1.3",
  98. "lint-staged": "11.1.2",
  99. "picocolors": "^1.0.0",
  100. "postcss": "^8.4.18",
  101. "postcss-html": "^1.5.0",
  102. "postcss-import": "^15.0.0",
  103. "postcss-less": "^6.0.0",
  104. "prettier": "^2.5.1",
  105. "pretty-quick": "3.1.1",
  106. "rimraf": "3.0.2",
  107. "rollup-plugin-visualizer": "^5.8.3",
  108. "stylelint": "^14.3.0",
  109. "stylelint-config-html": "^1.0.0",
  110. "stylelint-config-prettier": "^9.0.3",
  111. "stylelint-config-recommended": "^9.0.0",
  112. "stylelint-config-standard": "^29.0.0",
  113. "stylelint-order": "^5.0.0",
  114. "svgo": "^3.0.2",
  115. "tailwindcss": "^3.2.7",
  116. "terser": "^5.16.5",
  117. "typescript": "^4.9.5",
  118. "unplugin-imagemin": "^0.3.11",
  119. "unplugin-vue-define-options": "^1.1.1",
  120. "vite": "^4.1.4",
  121. "vite-plugin-cdn-import": "^0.3.5",
  122. "vite-plugin-compression": "^0.5.1",
  123. "vite-plugin-html": "^3.2.0",
  124. "vite-plugin-mock": "^2.9.6",
  125. "vite-plugin-pwa": "^0.14.4",
  126. "vite-plugin-remove-console": "^2.1.0",
  127. "vite-plugin-style-import": "^2.0.0",
  128. "vite-plugin-svg-icons": "^2.0.1",
  129. "vite-svg-loader": "^4.0.0",
  130. "vue-eslint-parser": "^9.1.0",
  131. "vue-tsc": "^1.2.0"
  132. },
  133. "pnpm": {
  134. "peerDependencyRules": {
  135. "ignoreMissing": [
  136. "rollup",
  137. "webpack"
  138. ]
  139. }
  140. },
  141. "repository": "git@github.com:pure-admin/pure-admin-thin.git",
  142. "author": "xiaoxian521",
  143. "license": "MIT"
  144. }