You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
4.6 KiB

3 years ago
3 years ago
3 years ago
  1. {
  2. "name": "pure-admin-thin",
  3. "version": "3.4.6",
  4. "private": true,
  5. "scripts": {
  6. "dev": "cross-env --max_old_space_size=4096 vite",
  7. "serve": "pnpm dev",
  8. "build": "rimraf dist && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build",
  9. "build:staging": "rimraf dist && cross-env vite build --mode staging",
  10. "report": "rimraf dist && cross-env vite build",
  11. "preview": "vite preview",
  12. "preview:build": "pnpm build && vite preview",
  13. "typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
  14. "cloc": "cross-env --max_old_space_size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
  15. "clean:cache": "rm -rf node_modules && rm -rf .eslintcache && pnpm install",
  16. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  17. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  18. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --cache --cache-location node_modules/.cache/stylelint/",
  19. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  20. "lint:pretty": "pretty-quick --staged",
  21. "lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
  22. "prepare": "husky install",
  23. "preinstall": "npx only-allow pnpm"
  24. },
  25. "browserslist": [
  26. "> 1%",
  27. "not ie 11",
  28. "not op_mini all"
  29. ],
  30. "dependencies": {
  31. "@ctrl/tinycolor": "^3.4.1",
  32. "@pureadmin/components": "^1.1.0",
  33. "@pureadmin/descriptions": "^1.1.0",
  34. "@pureadmin/table": "^1.2.0",
  35. "@pureadmin/utils": "^0.1.1",
  36. "@vueuse/core": "^9.1.0",
  37. "@vueuse/motion": "^2.0.0-beta.12",
  38. "@vueuse/shared": "^9.1.0",
  39. "animate.css": "^4.1.1",
  40. "axios": "^0.27.2",
  41. "css-color-function": "^1.3.3",
  42. "dayjs": "^1.11.4",
  43. "echarts": "^5.3.3",
  44. "element-plus": "^2.2.14",
  45. "element-resize-detector": "^1.2.3",
  46. "js-cookie": "^3.0.1",
  47. "lodash": "^4.17.21",
  48. "lodash-es": "^4.17.21",
  49. "lodash-unified": "^1.0.2",
  50. "mitt": "^3.0.0",
  51. "mockjs": "^1.1.0",
  52. "nprogress": "^0.2.0",
  53. "path": "^0.12.7",
  54. "pinia": "^2.0.19",
  55. "qrcode": "^1.5.1",
  56. "qs": "^6.11.0",
  57. "resize-observer-polyfill": "^1.5.1",
  58. "responsive-storage": "^2.1.0",
  59. "rgb-hex": "^4.0.0",
  60. "vue": "^3.2.37",
  61. "vue-i18n": "^9.2.2",
  62. "vue-router": "^4.1.3",
  63. "vue-types": "^4.2.1",
  64. "vxe-table": "^4.3.0-beta.5",
  65. "xe-utils": "^3.5.6"
  66. },
  67. "devDependencies": {
  68. "@commitlint/cli": "13.1.0",
  69. "@commitlint/config-conventional": "13.1.0",
  70. "@iconify-icons/ep": "^1.2.7",
  71. "@iconify-icons/ri": "^1.2.3",
  72. "@iconify/vue": "^3.2.1",
  73. "@intlify/vite-plugin-vue-i18n": "^6.0.1",
  74. "@pureadmin/theme": "^2.4.0",
  75. "@types/element-resize-detector": "1.1.3",
  76. "@types/js-cookie": "^3.0.1",
  77. "@types/lodash": "^4.14.180",
  78. "@types/lodash-es": "^4.17.6",
  79. "@types/mockjs": "1.0.3",
  80. "@types/node": "14.14.14",
  81. "@types/nprogress": "0.2.0",
  82. "@types/qrcode": "^1.5.0",
  83. "@types/qs": "^6.9.7",
  84. "@typescript-eslint/eslint-plugin": "^5.10.2",
  85. "@typescript-eslint/parser": "^5.10.2",
  86. "@vitejs/plugin-legacy": "^2.0.0",
  87. "@vitejs/plugin-vue": "^3.0.1",
  88. "@vitejs/plugin-vue-jsx": "^2.0.0",
  89. "@vue/eslint-config-prettier": "^7.0.0",
  90. "@vue/eslint-config-typescript": "^10.0.0",
  91. "@vue/runtime-core": "^3.2.37",
  92. "autoprefixer": "^10.4.8",
  93. "cloc": "^2.10.0",
  94. "cross-env": "7.0.3",
  95. "eslint": "^8.8.0",
  96. "eslint-plugin-prettier": "^4.0.0",
  97. "eslint-plugin-vue": "^8.4.1",
  98. "font-awesome": "^4.7.0",
  99. "husky": "^7.0.4",
  100. "lint-staged": "11.1.2",
  101. "picocolors": "^1.0.0",
  102. "postcss": "^8.4.16",
  103. "postcss-html": "^1.5.0",
  104. "postcss-import": "^14.1.0",
  105. "postcss-scss": "^4.0.4",
  106. "prettier": "^2.5.1",
  107. "pretty-quick": "3.1.1",
  108. "rimraf": "3.0.2",
  109. "rollup-plugin-visualizer": "^5.7.1",
  110. "sass": "^1.53.0",
  111. "sass-loader": "^13.0.2",
  112. "stylelint": "^14.3.0",
  113. "stylelint-config-html": "^1.0.0",
  114. "stylelint-config-prettier": "^9.0.3",
  115. "stylelint-config-recommended": "^6.0.0",
  116. "stylelint-config-standard": "^24.0.0",
  117. "stylelint-order": "^5.0.0",
  118. "typescript": "^4.7.4",
  119. "unocss": "^0.45.12",
  120. "unplugin-vue-define-options": "^0.7.3",
  121. "vite": "^3.0.9",
  122. "vite-plugin-mock": "^2.9.6",
  123. "vite-plugin-remove-console": "^1.1.0",
  124. "vite-svg-loader": "^3.4.0",
  125. "vue-eslint-parser": "^8.2.0",
  126. "vue-tsc": "^0.40.1"
  127. },
  128. "pnpm": {
  129. "peerDependencyRules": {
  130. "ignoreMissing": [
  131. "rollup",
  132. "terser",
  133. "webpack"
  134. ]
  135. }
  136. },
  137. "repository": "git@github.com:xiaoxian521/pure-admin-thin.git",
  138. "author": "xiaoxian521",
  139. "license": "MIT"
  140. }