package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "vite-vue3-h5",
  3. "type": "module",
  4. "version": "3.0.0",
  5. "private": true,
  6. "packageManager": "pnpm@10.11.0",
  7. "author": "lincenying <lincenying@qq.com>",
  8. "scripts": {
  9. "prepare": "npx simple-git-hooks",
  10. "del": "sh delete-ts.sh",
  11. "serve": "cross-env DEBUG=vite:transform vite",
  12. "build:test": "vite build --mode test",
  13. "build:staging": "vite build --mode staging",
  14. "build": "vite build",
  15. "start": "vite preview",
  16. "lint": "eslint .",
  17. "lint:fix": "eslint . --fix",
  18. "lint:ts": "vue-tsc --noEmit",
  19. "lint:css": "stylelint '**/*.{css,scss}' --fix"
  20. },
  21. "dependencies": {
  22. "@lincy/utils": "^0.6.2",
  23. "@unhead/vue": "^2.0.8",
  24. "@vueuse/core": "^13.1.0",
  25. "axios": "^1.9.0",
  26. "crypto-js": "^4.0.0",
  27. "default-passive-events": "^2.0.0",
  28. "lodash": "^4.17.21",
  29. "md5": "^2.3.0",
  30. "pinia": "^3.0.2",
  31. "qs": "^6.14.0",
  32. "store2": "^2.14.4",
  33. "unhead": "^2.0.8",
  34. "vant": "^4.9.19",
  35. "vue": "^3.5.13",
  36. "vue-cropper": "^1.1.4",
  37. "vue-i18n": "^12.0.0-alpha.2",
  38. "vue-router": "^4.5.1"
  39. },
  40. "devDependencies": {
  41. "@iconify-json/mdi": "^1.2.3",
  42. "@lincy/eslint-config": "^5.5.2",
  43. "@lincy/stylelint-config": "^2.0.1",
  44. "@lincy/unocss-base-config": "^2.2.1",
  45. "@types/crypto-js": "^4.2.2",
  46. "@types/lodash": "^4.17.16",
  47. "@types/node": "^22.15.17",
  48. "@types/qs": "^6.9.18",
  49. "@unocss/eslint-plugin": "^66.1.1",
  50. "@vitejs/plugin-vue": "^5.2.4",
  51. "@vitejs/plugin-vue-jsx": "^4.1.2",
  52. "@vue-macros/volar": "^3.0.0-beta.12",
  53. "cross-env": "^7.0.3",
  54. "eslint": "^9.26.0",
  55. "lint-staged": "^16.0.0",
  56. "mockjs": "^1.1.0",
  57. "postcss": "^8.5.3",
  58. "postcss-px-to-viewport-8-plugin": "^1.2.5",
  59. "sass": "^1.88.0",
  60. "simple-git-hooks": "^2.13.0",
  61. "typescript": "^5.8.3",
  62. "unocss": "^66.1.3",
  63. "unplugin-auto-import": "^19.2.0",
  64. "unplugin-icons": "^22.1.0",
  65. "unplugin-vue-components": "^28.5.0",
  66. "unplugin-vue-macros": "^2.14.5",
  67. "url-search-params-polyfill": "^8.2.5",
  68. "vite": "^6.3.5",
  69. "vite-plugin-inspect": "^11.0.1",
  70. "vite-plugin-mock": "^3.0.2",
  71. "vite-plugin-progress": "^0.0.7",
  72. "vue-tsc": "^2.2.10"
  73. },
  74. "pnpm": {
  75. "peerDependencyRules": {
  76. "ignoreMissing": [
  77. "rollup",
  78. "postcss",
  79. "esbuild",
  80. "prettier"
  81. ]
  82. }
  83. },
  84. "simple-git-hooks": {
  85. "pre-commit": "npx lint-staged"
  86. },
  87. "lint-staged": {
  88. "*.{[jt]s?(x),vue,md}": [
  89. "eslint --fix"
  90. ],
  91. "*.{css,scss}": "stylelint --fix --allow-empty-input"
  92. }
  93. }