package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. "commitizen": "^4.3.0",
  45. "cz-conventional-changelog": "^3.3.0",
  46. "eslint": "^8.38.0",
  47. "eslint-plugin-prettier": "^4.2.1",
  48. "eslint-plugin-vue": "^9.10.0",
  49. "husky": "^8.0.0",
  50. "less": "^4.1.3",
  51. "lint-staged": "^13.2.2",
  52. "plop": "^3.1.2",
  53. "postcss": "^8.4.21",
  54. "postcss-pxtorem": "^6.0.0",
  55. "prettier": "^2.8.7",
  56. "typescript": "^5.0.4",
  57. "unplugin-vue-components": "^0.24.1",
  58. "vite": "^4.2.1",
  59. "vite-plugin-eslint": "^1.8.1",
  60. "vue-eslint-parser": "^9.1.1",
  61. "vue-tsc": "^1.2.0",
  62. "yorkie": "^2.0.0"
  63. },
  64. "gitHooks": {
  65. "pre-commit": "lint-staged"
  66. },
  67. "lint-staged": {
  68. "*.{js,jsx,vue,ts,tsx}": [
  69. "eslint --fix"
  70. ]
  71. },
  72. "engines": {
  73. "node": ">=14.20.0"
  74. },
  75. "config": {
  76. "commitizen": {
  77. "path": "./node_modules/cz-conventional-changelog"
  78. }
  79. }
  80. }