package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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:prod": "vue-tsc --noEmit && vite build",
  19. "build:dev": "vue-tsc --noEmit && vite build --mode development",
  20. "serve": "vite preview",
  21. "lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src",
  22. "generate": "plop",
  23. "prepare": "husky install"
  24. },
  25. "dependencies": {
  26. "@amap/amap-jsapi-loader": "^1.0.1",
  27. "@vant/use": "^1.5.1",
  28. "@vueuse/core": "^10.1.2",
  29. "clean-deep": "^3.4.0",
  30. "dayjs": "^1.11.7",
  31. "echarts": "^5.4.2",
  32. "eventemitter3": "^5.0.1",
  33. "howler": "^2.2.3",
  34. "html2canvas": "^1.4.1",
  35. "naive-ui": "^2.34.4",
  36. "numeral": "^2.0.6",
  37. "pinia": "^2.0.36",
  38. "plyr": "^3.7.8",
  39. "qrcode": "^1.5.3",
  40. "query-string": "^8.1.0",
  41. "swiper": "^9.3.2",
  42. "tcplayer.js": "^4.8.0",
  43. "terser": "^5.17.6",
  44. "umi-request": "^1.4.0",
  45. "vant": "^4.1.2",
  46. "vconsole": "^3.15.0",
  47. "vudio.js": "^1.0.3",
  48. "vue": "^3.2.47",
  49. "vue-awesome-swiper": "^5.0.1",
  50. "vue-router": "^4.1.6",
  51. "vue3-lottie": "^2.7.0",
  52. "vuedraggable": "^4.1.0",
  53. "webpack-merge": "^5.9.0"
  54. },
  55. "devDependencies": {
  56. "@babel/core": "^7.21.4",
  57. "@babel/preset-env": "^7.21.4",
  58. "@types/node": "^16.18.23",
  59. "@typescript-eslint/eslint-plugin": "^5.57.1",
  60. "@typescript-eslint/parser": "^5.57.1",
  61. "@vitejs/plugin-legacy": "^4.0.3",
  62. "@vitejs/plugin-vue": "^4.1.0",
  63. "@vitejs/plugin-vue-jsx": "^3.0.1",
  64. "@vue/babel-plugin-jsx": "^1.1.1",
  65. "@vue/compiler-sfc": "^3.2.47",
  66. "@vue/eslint-config-prettier": "^7.1.0",
  67. "@vue/eslint-config-typescript": "^11.0.2",
  68. "autoprefixer": "^10.4.14",
  69. "babel-plugin-dynamic-import-node": "^2.3.3",
  70. "eslint": "^8.38.0",
  71. "eslint-plugin-prettier": "^4.2.1",
  72. "eslint-plugin-vue": "^9.10.0",
  73. "husky": "^8.0.0",
  74. "less": "^4.1.3",
  75. "lint-staged": "^13.2.2",
  76. "plop": "^3.1.2",
  77. "postcss": "^8.4.21",
  78. "postcss-pxtorem": "^6.0.0",
  79. "prettier": "^2.8.7",
  80. "typescript": "^5.0.4",
  81. "unplugin-vue-components": "^0.24.1",
  82. "vite": "^4.2.1",
  83. "vite-plugin-eslint": "^1.8.1",
  84. "vue-eslint-parser": "^9.1.1",
  85. "vue-tsc": "^1.2.0",
  86. "yorkie": "^2.0.0"
  87. },
  88. "gitHooks": {
  89. "pre-commit": "lint-staged"
  90. },
  91. "lint-staged": {
  92. "*.{js,jsx,vue,ts,tsx}": [
  93. "eslint --fix"
  94. ]
  95. },
  96. "engines": {
  97. "node": ">=14.20.0"
  98. },
  99. "config": {
  100. "commitizen": {
  101. "path": "./node_modules/cz-conventional-changelog"
  102. }
  103. }
  104. }