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.

127 lines
4.3 KiB

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