package.json 1.9 KB

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