package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. "js-base64": "^3.7.5",
  34. "numeral": "^2.0.6",
  35. "plyr": "^3.7.8",
  36. "qrcode": "^1.5.3",
  37. "query-string": "^8.1.0",
  38. "swiper": "^9.3.2",
  39. "tcplayer.js": "^4.8.0",
  40. "terser": "^5.17.6",
  41. "umi-request": "^1.4.0",
  42. "vant": "^4.1.2",
  43. "vconsole": "^3.15.0",
  44. "vue": "^3.2.47",
  45. "vue-awesome-swiper": "^5.0.1",
  46. "vue-router": "^4.1.6",
  47. "vue3-lottie": "^2.7.0"
  48. },
  49. "devDependencies": {
  50. "@babel/core": "^7.21.4",
  51. "@babel/preset-env": "^7.21.4",
  52. "@types/node": "^16.18.23",
  53. "@typescript-eslint/eslint-plugin": "^5.57.1",
  54. "@typescript-eslint/parser": "^5.57.1",
  55. "@vitejs/plugin-legacy": "^4.0.3",
  56. "@vitejs/plugin-vue": "^4.1.0",
  57. "@vitejs/plugin-vue-jsx": "^3.0.1",
  58. "@vue/babel-plugin-jsx": "^1.1.1",
  59. "@vue/compiler-sfc": "^3.2.47",
  60. "@vue/eslint-config-prettier": "^7.1.0",
  61. "@vue/eslint-config-typescript": "^11.0.2",
  62. "autoprefixer": "^10.4.14",
  63. "babel-plugin-dynamic-import-node": "^2.3.3",
  64. "eslint": "^8.38.0",
  65. "eslint-plugin-prettier": "^4.2.1",
  66. "eslint-plugin-vue": "^9.10.0",
  67. "husky": "^8.0.0",
  68. "less": "^4.1.3",
  69. "lint-staged": "^13.2.2",
  70. "plop": "^3.1.2",
  71. "postcss": "^8.4.21",
  72. "postcss-pxtorem": "^6.0.0",
  73. "prettier": "^2.8.7",
  74. "typescript": "^5.0.4",
  75. "unplugin-vue-components": "^0.24.1",
  76. "vite": "^4.2.1",
  77. "vite-plugin-eslint": "^1.8.1",
  78. "vue-eslint-parser": "^9.1.1",
  79. "vue-tsc": "^1.2.0",
  80. "yorkie": "^2.0.0"
  81. },
  82. "gitHooks": {
  83. "pre-commit": "lint-staged"
  84. },
  85. "lint-staged": {
  86. "*.{js,jsx,vue,ts,tsx}": [
  87. "eslint --fix"
  88. ]
  89. },
  90. "engines": {
  91. "node": ">=14.20.0"
  92. },
  93. "config": {
  94. "commitizen": {
  95. "path": "./node_modules/cz-conventional-changelog"
  96. }
  97. }
  98. }