package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "vue-vite-h5",
  3. "version": "0.2.0",
  4. "license": "MIT",
  5. "author": "LZHD",
  6. "description": "Developing with Vue 3 and Typescript in Vite.",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/LZHD/vue-vite-h5"
  10. },
  11. "bugs": {
  12. "url": "https://github.com/LZHD/vue-vite-h5/issues"
  13. },
  14. "homepage": "https://github.com/LZHD/vue-vite-h5#readme",
  15. "scripts": {
  16. "dev": "vite",
  17. "start": "npm run dev",
  18. "build": "vue-tsc --noEmit && vite build",
  19. "serve": "vite preview",
  20. "lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src",
  21. "generate": "plop",
  22. "prepare": "husky install"
  23. },
  24. "dependencies": {
  25. "@amap/amap-jsapi-loader": "^1.0.1",
  26. "@vant/use": "^1.5.1",
  27. "@vueuse/core": "^10.1.2",
  28. "clean-deep": "^3.4.0",
  29. "cos-js-sdk-v5": "^1.4.20",
  30. "dayjs": "^1.11.7",
  31. "echarts": "^5.4.2",
  32. "html2canvas": "^1.4.1",
  33. "numeral": "^2.0.6",
  34. "plyr": "^3.7.8",
  35. "qrcode": "^1.5.3",
  36. "query-string": "^8.1.0",
  37. "swiper": "^9.3.2",
  38. "terser": "^5.17.6",
  39. "umi-request": "^1.4.0",
  40. "vant": "^4.1.2",
  41. "vconsole": "^3.15.0",
  42. "vue": "^3.2.47",
  43. "vue-awesome-swiper": "^5.0.1",
  44. "vue-router": "^4.1.6",
  45. "vue3-lottie": "^2.7.0"
  46. },
  47. "devDependencies": {
  48. "@babel/core": "^7.21.4",
  49. "@babel/preset-env": "^7.21.4",
  50. "@types/node": "^16.18.23",
  51. "@typescript-eslint/eslint-plugin": "^5.57.1",
  52. "@typescript-eslint/parser": "^5.57.1",
  53. "@vitejs/plugin-legacy": "^4.0.3",
  54. "@vitejs/plugin-vue": "^4.1.0",
  55. "@vitejs/plugin-vue-jsx": "^3.0.1",
  56. "@vue/babel-plugin-jsx": "^1.1.1",
  57. "@vue/compiler-sfc": "^3.2.47",
  58. "@vue/eslint-config-prettier": "^7.1.0",
  59. "@vue/eslint-config-typescript": "^11.0.2",
  60. "autoprefixer": "^10.4.14",
  61. "babel-plugin-dynamic-import-node": "^2.3.3",
  62. "eslint": "^8.38.0",
  63. "eslint-plugin-prettier": "^4.2.1",
  64. "eslint-plugin-vue": "^9.10.0",
  65. "husky": "^8.0.0",
  66. "less": "^4.1.3",
  67. "lint-staged": "^13.2.2",
  68. "plop": "^3.1.2",
  69. "postcss": "^8.4.21",
  70. "postcss-pxtorem": "^6.0.0",
  71. "prettier": "^2.8.7",
  72. "typescript": "^5.0.4",
  73. "unplugin-vue-components": "^0.24.1",
  74. "vite": "^4.2.1",
  75. "vite-plugin-eslint": "^1.8.1",
  76. "vue-eslint-parser": "^9.1.1",
  77. "vue-tsc": "^1.2.0",
  78. "yorkie": "^2.0.0"
  79. },
  80. "gitHooks": {
  81. "pre-commit": "lint-staged"
  82. },
  83. "lint-staged": {
  84. "*.{js,jsx,vue,ts,tsx}": [
  85. "eslint --fix"
  86. ]
  87. },
  88. "engines": {
  89. "node": ">=14.20.0"
  90. },
  91. "config": {
  92. "commitizen": {
  93. "path": "./node_modules/cz-conventional-changelog"
  94. }
  95. }
  96. }