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
3 years ago
  1. {
  2. "name": "pure-admin-thin",
  3. "version": "3.9.3",
  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. },
  26. "browserslist": [
  27. "> 1%",
  28. "not ie 11",
  29. "not op_mini all"
  30. ],
  31. "dependencies": {
  32. "@ctrl/tinycolor": "^3.4.1",
  33. "@pureadmin/descriptions": "^1.1.0",
  34. "@pureadmin/table": "^1.8.3",
  35. "@pureadmin/utils": "^1.7.4",
  36. "@vueuse/core": "^9.6.0",
  37. "@vueuse/motion": "2.0.0-beta.12",
  38. "animate.css": "^4.1.1",
  39. "axios": "^1.2.0",
  40. "dayjs": "^1.11.6",
  41. "echarts": "^5.4.0",
  42. "element-plus": "^2.2.26",
  43. "element-resize-detector": "^1.2.4",
  44. "js-cookie": "^3.0.1",
  45. "lodash": "^4.17.21",
  46. "lodash-es": "^4.17.21",
  47. "lodash-unified": "^1.0.2",
  48. "mitt": "^3.0.0",
  49. "mockjs": "^1.1.0",
  50. "nprogress": "^0.2.0",
  51. "path": "^0.12.7",
  52. "pinia": "^2.0.27",
  53. "qs": "^6.11.0",
  54. "responsive-storage": "^2.1.0",
  55. "vue": "^3.2.45",
  56. "vue-i18n": "^9.2.2",
  57. "vue-router": "^4.1.6",
  58. "vue-types": "^4.2.1",
  59. "vxe-table": "^4.3.6",
  60. "xe-utils": "^3.5.7"
  61. },
  62. "devDependencies": {
  63. "@commitlint/cli": "13.1.0",
  64. "@commitlint/config-conventional": "13.1.0",
  65. "@iconify-icons/ep": "^1.2.7",
  66. "@iconify-icons/ri": "^1.2.3",
  67. "@iconify/vue": "^4.0.0",
  68. "@intlify/vite-plugin-vue-i18n": "^6.0.3",
  69. "@pureadmin/theme": "^2.4.0",
  70. "@types/element-resize-detector": "1.1.3",
  71. "@types/js-cookie": "^3.0.1",
  72. "@types/lodash": "^4.14.180",
  73. "@types/lodash-es": "^4.17.6",
  74. "@types/mockjs": "^1.0.7",
  75. "@types/node": "^18.11.9",
  76. "@types/nprogress": "0.2.0",
  77. "@types/qs": "^6.9.7",
  78. "@typescript-eslint/eslint-plugin": "^5.42.1",
  79. "@typescript-eslint/parser": "^5.42.1",
  80. "@vitejs/plugin-legacy": "^2.3.1",
  81. "@vitejs/plugin-vue": "^3.2.0",
  82. "@vitejs/plugin-vue-jsx": "^2.1.1",
  83. "@vue/eslint-config-prettier": "^7.0.0",
  84. "@vue/eslint-config-typescript": "^11.0.2",
  85. "autoprefixer": "^10.4.13",
  86. "cloc": "^2.10.0",
  87. "cssnano": "^5.1.14",
  88. "eslint": "^8.8.0",
  89. "eslint-plugin-prettier": "^4.0.0",
  90. "eslint-plugin-vue": "^9.7.0",
  91. "font-awesome": "^4.7.0",
  92. "husky": "^7.0.4",
  93. "lint-staged": "11.1.2",
  94. "picocolors": "^1.0.0",
  95. "postcss": "^8.4.18",
  96. "postcss-html": "^1.5.0",
  97. "postcss-import": "^15.0.0",
  98. "postcss-scss": "^4.0.5",
  99. "prettier": "^2.5.1",
  100. "pretty-quick": "3.1.1",
  101. "rimraf": "3.0.2",
  102. "rollup-plugin-visualizer": "^5.8.3",
  103. "sass": "^1.56.1",
  104. "sass-loader": "^13.2.0",
  105. "stylelint": "^14.3.0",
  106. "stylelint-config-html": "^1.0.0",
  107. "stylelint-config-prettier": "^9.0.3",
  108. "stylelint-config-recommended": "^9.0.0",
  109. "stylelint-config-standard": "^29.0.0",
  110. "stylelint-order": "^5.0.0",
  111. "svgo": "^3.0.2",
  112. "tailwindcss": "^3.2.4",
  113. "terser": "^5.15.1",
  114. "typescript": "^4.9.3",
  115. "unplugin-vue-define-options": "^1.0.0",
  116. "vite": "3.1.8",
  117. "vite-plugin-cdn-import": "^0.3.5",
  118. "vite-plugin-compression": "^0.5.1",
  119. "vite-plugin-mock": "^2.9.6",
  120. "vite-plugin-remove-console": "^1.3.0",
  121. "vite-svg-loader": "^3.6.0",
  122. "vue-eslint-parser": "^9.1.0",
  123. "vue-tsc": "^1.0.9"
  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. }