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.

126 lines
4.2 KiB

2 years ago
2 years ago
  1. {
  2. "name": "pure-admin-thin",
  3. "version": "3.9.7",
  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.27",
  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.28",
  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/unplugin-vue-i18n": "^0.8.1",
  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-vue": "^4.0.0",
  73. "@vitejs/plugin-vue-jsx": "^3.0.0",
  74. "@vue/eslint-config-prettier": "^7.0.0",
  75. "@vue/eslint-config-typescript": "^11.0.2",
  76. "autoprefixer": "^10.4.13",
  77. "cloc": "^2.10.0",
  78. "cssnano": "^5.1.14",
  79. "eslint": "^8.8.0",
  80. "eslint-plugin-prettier": "^4.0.0",
  81. "eslint-plugin-vue": "^9.7.0",
  82. "husky": "^7.0.4",
  83. "lint-staged": "11.1.2",
  84. "picocolors": "^1.0.0",
  85. "postcss": "^8.4.18",
  86. "postcss-html": "^1.5.0",
  87. "postcss-import": "^15.0.0",
  88. "postcss-scss": "^4.0.5",
  89. "prettier": "^2.5.1",
  90. "pretty-quick": "3.1.1",
  91. "rimraf": "3.0.2",
  92. "rollup-plugin-visualizer": "^5.8.3",
  93. "sass": "^1.56.1",
  94. "sass-loader": "^13.2.0",
  95. "stylelint": "^14.3.0",
  96. "stylelint-config-html": "^1.0.0",
  97. "stylelint-config-prettier": "^9.0.3",
  98. "stylelint-config-recommended": "^9.0.0",
  99. "stylelint-config-standard": "^29.0.0",
  100. "stylelint-order": "^5.0.0",
  101. "svgo": "^3.0.2",
  102. "tailwindcss": "^3.2.4",
  103. "terser": "^5.16.1",
  104. "typescript": "^4.9.3",
  105. "unplugin-vue-define-options": "^1.1.1",
  106. "vite": "^4.0.3",
  107. "vite-plugin-cdn-import": "^0.3.5",
  108. "vite-plugin-compression": "^0.5.1",
  109. "vite-plugin-mock": "^2.9.6",
  110. "vite-plugin-remove-console": "^1.3.0",
  111. "vite-svg-loader": "^3.6.0",
  112. "vue-eslint-parser": "^9.1.0",
  113. "vue-tsc": "^1.0.9"
  114. },
  115. "pnpm": {
  116. "peerDependencyRules": {
  117. "ignoreMissing": [
  118. "rollup",
  119. "webpack"
  120. ]
  121. }
  122. },
  123. "repository": "git@github.com:pure-admin/pure-admin-thin.git",
  124. "author": "xiaoxian521",
  125. "license": "MIT"
  126. }