package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. "@vant/use": "^1.5.1",
  26. "clean-deep": "^3.4.0",
  27. "dayjs": "^1.11.7",
  28. "numeral": "^2.0.6",
  29. "query-string": "^8.1.0",
  30. "umi-request": "^1.4.0",
  31. "vant": "^4.1.2",
  32. "vue": "^3.2.47",
  33. "vue-router": "^4.1.6",
  34. "vue3-lottie": "^2.7.0"
  35. },
  36. "devDependencies": {
  37. "@babel/core": "^7.21.4",
  38. "@babel/preset-env": "^7.21.4",
  39. "@types/node": "^16.18.23",
  40. "@typescript-eslint/eslint-plugin": "^5.57.1",
  41. "@typescript-eslint/parser": "^5.57.1",
  42. "@vitejs/plugin-vue": "^4.1.0",
  43. "@vitejs/plugin-vue-jsx": "^3.0.1",
  44. "@vue/babel-plugin-jsx": "^1.1.1",
  45. "@vue/compiler-sfc": "^3.2.47",
  46. "@vue/eslint-config-prettier": "^7.1.0",
  47. "@vue/eslint-config-typescript": "^11.0.2",
  48. "autoprefixer": "^10.4.14",
  49. "babel-plugin-dynamic-import-node": "^2.3.3",
  50. "eslint": "^8.38.0",
  51. "eslint-plugin-prettier": "^4.2.1",
  52. "eslint-plugin-vue": "^9.10.0",
  53. "husky": "^8.0.0",
  54. "less": "^4.1.3",
  55. "lint-staged": "^13.2.2",
  56. "plop": "^3.1.2",
  57. "postcss": "^8.4.21",
  58. "postcss-pxtorem": "^6.0.0",
  59. "prettier": "^2.8.7",
  60. "typescript": "^5.0.4",
  61. "unplugin-vue-components": "^0.24.1",
  62. "vite": "^4.2.1",
  63. "vite-plugin-eslint": "^1.8.1",
  64. "vue-eslint-parser": "^9.1.1",
  65. "vue-tsc": "^1.2.0",
  66. "yorkie": "^2.0.0"
  67. },
  68. "gitHooks": {
  69. "pre-commit": "lint-staged"
  70. },
  71. "lint-staged": {
  72. "*.{js,jsx,vue,ts,tsx}": [
  73. "eslint --fix"
  74. ]
  75. },
  76. "engines": {
  77. "node": ">=14.20.0"
  78. },
  79. "config": {
  80. "commitizen": {
  81. "path": "./node_modules/cz-conventional-changelog"
  82. }
  83. }
  84. }