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

  1. {
  2. "name": "pure-admin-thin",
  3. "version": "4.4.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": "rimraf node_modules && rimraf .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,scss,vue,html,md}\"",
  19. "lint:stylelint": "stylelint \"**/*.{html,vue,css,scss}\" --fix --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.1",
  33. "@pureadmin/table": "^2.3.2",
  34. "@pureadmin/utils": "^1.9.3",
  35. "@vueuse/core": "^10.1.2",
  36. "@vueuse/motion": "^2.0.0",
  37. "animate.css": "^4.1.1",
  38. "axios": "^1.4.0",
  39. "dayjs": "^1.11.8",
  40. "echarts": "^5.4.2",
  41. "element-plus": "^2.3.6",
  42. "js-cookie": "^3.0.5",
  43. "mitt": "^3.0.0",
  44. "mockjs": "^1.1.0",
  45. "nprogress": "^0.2.0",
  46. "path": "^0.12.7",
  47. "pinia": "^2.1.3",
  48. "qs": "^6.11.2",
  49. "responsive-storage": "^2.2.0",
  50. "sortablejs": "^1.15.0",
  51. "vue": "^3.3.4",
  52. "vue-i18n": "^9.2.2",
  53. "vue-router": "^4.2.2",
  54. "vue-types": "^5.0.3"
  55. },
  56. "devDependencies": {
  57. "@commitlint/cli": "^17.6.5",
  58. "@commitlint/config-conventional": "^17.6.5",
  59. "@iconify-icons/ep": "^1.2.11",
  60. "@iconify-icons/ri": "^1.2.8",
  61. "@iconify/vue": "^4.1.1",
  62. "@intlify/unplugin-vue-i18n": "^0.11.0",
  63. "@pureadmin/theme": "^3.0.0",
  64. "@types/js-cookie": "^3.0.3",
  65. "@types/mockjs": "^1.0.7",
  66. "@types/node": "^20.3.1",
  67. "@types/nprogress": "0.2.0",
  68. "@types/qs": "^6.9.7",
  69. "@types/sortablejs": "^1.15.1",
  70. "@typescript-eslint/eslint-plugin": "^5.59.11",
  71. "@typescript-eslint/parser": "^5.59.11",
  72. "@vitejs/plugin-vue": "^4.2.3",
  73. "@vitejs/plugin-vue-jsx": "^3.0.1",
  74. "@vue/eslint-config-prettier": "^7.1.0",
  75. "@vue/eslint-config-typescript": "^11.0.3",
  76. "autoprefixer": "^10.4.14",
  77. "cloc": "^2.11.0",
  78. "cssnano": "^6.0.1",
  79. "eslint": "^8.42.0",
  80. "eslint-plugin-prettier": "^4.2.1",
  81. "eslint-plugin-vue": "^9.14.1",
  82. "husky": "^8.0.3",
  83. "lint-staged": "^13.2.2",
  84. "picocolors": "^1.0.0",
  85. "postcss": "^8.4.24",
  86. "postcss-html": "^1.5.0",
  87. "postcss-import": "^15.1.0",
  88. "postcss-scss": "^4.0.6",
  89. "prettier": "^2.8.8",
  90. "pretty-quick": "^3.1.3",
  91. "rimraf": "^5.0.1",
  92. "rollup-plugin-visualizer": "^5.9.2",
  93. "sass": "^1.63.3",
  94. "sass-loader": "^13.3.2",
  95. "stylelint": "^15.7.0",
  96. "stylelint-config-html": "^1.1.0",
  97. "stylelint-config-recess-order": "^4.2.0",
  98. "stylelint-config-recommended": "^12.0.0",
  99. "stylelint-config-recommended-scss": "^12.0.0",
  100. "stylelint-config-recommended-vue": "^1.4.0",
  101. "stylelint-config-standard": "^33.0.0",
  102. "stylelint-config-standard-scss": "^9.0.0",
  103. "stylelint-order": "^6.0.3",
  104. "stylelint-prettier": "^3.0.0",
  105. "stylelint-scss": "^5.0.1",
  106. "svgo": "^3.0.2",
  107. "tailwindcss": "^3.3.2",
  108. "terser": "^5.18.0",
  109. "typescript": "5.0.4",
  110. "vite": "^4.3.9",
  111. "vite-plugin-cdn-import": "^0.3.5",
  112. "vite-plugin-compression": "^0.5.1",
  113. "vite-plugin-mock": "2.9.6",
  114. "vite-plugin-remove-console": "^2.1.1",
  115. "vite-svg-loader": "^4.0.0",
  116. "vue-eslint-parser": "^9.3.1",
  117. "vue-tsc": "^1.6.5"
  118. },
  119. "pnpm": {
  120. "peerDependencyRules": {
  121. "ignoreMissing": [
  122. "rollup",
  123. "webpack",
  124. "core-js"
  125. ]
  126. },
  127. "allowedDeprecatedVersions": {
  128. "sourcemap-codec": "*",
  129. "w3c-hr-time": "*",
  130. "stable": "*"
  131. }
  132. },
  133. "repository": "git@github.com:pure-admin/pure-admin-thin.git",
  134. "author": "xiaoxian521",
  135. "license": "MIT"
  136. }