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.

136 lines
4.5 KiB

3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
  1. {
  2. "name": "pure-admin-thin",
  3. "version": "3.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: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. "cloc": "NODE_OPTIONS=--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,build}/**/*.{vue,js,ts,tsx}\" --fix",
  17. "lint:prettier": "prettier --write \"src/**/*.{js,ts,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": "^1.1.2",
  36. "@vueuse/core": "^9.3.0",
  37. "@vueuse/motion": "^2.0.0-beta.12",
  38. "@vueuse/shared": "^9.1.1",
  39. "animate.css": "^4.1.1",
  40. "axios": "^0.27.2",
  41. "dayjs": "^1.11.4",
  42. "echarts": "^5.3.3",
  43. "element-plus": "^2.2.16",
  44. "element-resize-detector": "^1.2.3",
  45. "js-cookie": "^3.0.1",
  46. "lodash": "^4.17.21",
  47. "lodash-es": "^4.17.21",
  48. "lodash-unified": "^1.0.2",
  49. "mitt": "^3.0.0",
  50. "mockjs": "^1.1.0",
  51. "nprogress": "^0.2.0",
  52. "path": "^0.12.7",
  53. "pinia": "^2.0.21",
  54. "qs": "^6.11.0",
  55. "resize-observer-polyfill": "^1.5.1",
  56. "responsive-storage": "^2.1.0",
  57. "vue": "^3.2.40",
  58. "vue-i18n": "^9.2.2",
  59. "vue-router": "^4.1.5",
  60. "vue-types": "^4.2.1",
  61. "vxe-table": "^4.3.2",
  62. "xe-utils": "^3.5.6"
  63. },
  64. "devDependencies": {
  65. "@commitlint/cli": "13.1.0",
  66. "@commitlint/config-conventional": "13.1.0",
  67. "@iconify-icons/ep": "^1.2.7",
  68. "@iconify-icons/ri": "^1.2.3",
  69. "@iconify/vue": "^3.2.1",
  70. "@intlify/vite-plugin-vue-i18n": "^6.0.3",
  71. "@pureadmin/theme": "^2.4.0",
  72. "@types/element-resize-detector": "1.1.3",
  73. "@types/js-cookie": "^3.0.1",
  74. "@types/lodash": "^4.14.180",
  75. "@types/lodash-es": "^4.17.6",
  76. "@types/mockjs": "1.0.3",
  77. "@types/node": "14.14.14",
  78. "@types/nprogress": "0.2.0",
  79. "@types/qs": "^6.9.7",
  80. "@typescript-eslint/eslint-plugin": "^5.10.2",
  81. "@typescript-eslint/parser": "^5.10.2",
  82. "@vitejs/plugin-legacy": "^2.2.0",
  83. "@vitejs/plugin-vue": "^3.1.2",
  84. "@vitejs/plugin-vue-jsx": "^2.0.1",
  85. "@vue/eslint-config-prettier": "^7.0.0",
  86. "@vue/eslint-config-typescript": "^10.0.0",
  87. "@vue/runtime-core": "^3.2.40",
  88. "autoprefixer": "^10.4.12",
  89. "cloc": "^2.10.0",
  90. "cssnano": "^5.1.13",
  91. "eslint": "^8.8.0",
  92. "eslint-plugin-prettier": "^4.0.0",
  93. "eslint-plugin-vue": "^8.4.1",
  94. "font-awesome": "^4.7.0",
  95. "husky": "^7.0.4",
  96. "lint-staged": "11.1.2",
  97. "picocolors": "^1.0.0",
  98. "postcss": "^8.4.17",
  99. "postcss-html": "^1.5.0",
  100. "postcss-import": "^15.0.0",
  101. "postcss-scss": "^4.0.5",
  102. "prettier": "^2.5.1",
  103. "pretty-quick": "3.1.1",
  104. "rimraf": "3.0.2",
  105. "rollup-plugin-visualizer": "^5.8.2",
  106. "sass": "^1.53.0",
  107. "sass-loader": "^13.0.2",
  108. "stylelint": "^14.3.0",
  109. "stylelint-config-html": "^1.0.0",
  110. "stylelint-config-prettier": "^9.0.3",
  111. "stylelint-config-recommended": "^6.0.0",
  112. "stylelint-config-standard": "^24.0.0",
  113. "stylelint-order": "^5.0.0",
  114. "tailwindcss": "^3.1.8",
  115. "terser": "^5.15.0",
  116. "typescript": "^4.7.4",
  117. "unplugin-vue-define-options": "0.7.3",
  118. "vite": "^3.1.8",
  119. "vite-plugin-mock": "^2.9.6",
  120. "vite-plugin-remove-console": "^1.1.0",
  121. "vite-svg-loader": "^3.6.0",
  122. "vue-eslint-parser": "^8.2.0",
  123. "vue-tsc": "^0.40.13"
  124. },
  125. "pnpm": {
  126. "peerDependencyRules": {
  127. "ignoreMissing": [
  128. "rollup",
  129. "webpack"
  130. ]
  131. }
  132. },
  133. "repository": "git@github.com:xiaoxian521/pure-admin-thin.git",
  134. "author": "xiaoxian521",
  135. "license": "MIT"
  136. }