package.json 2.2 KB

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