package.json 1.9 KB

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