package.json 4.8 KB

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