package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "h5-colexiu-website",
  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. "pinia": "^2.0.34",
  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-legacy": "^4.1.1",
  37. "@vitejs/plugin-vue": "^4.1.0",
  38. "@vitejs/plugin-vue-jsx": "^3.0.1",
  39. "@vue/babel-plugin-jsx": "^1.1.1",
  40. "@vue/compiler-sfc": "^3.2.47",
  41. "@vue/eslint-config-prettier": "^7.1.0",
  42. "@vue/eslint-config-typescript": "^11.0.2",
  43. "autoprefixer": "^10.4.14",
  44. "babel-plugin-dynamic-import-node": "^2.3.3",
  45. "eslint": "^8.38.0",
  46. "eslint-plugin-prettier": "^4.2.1",
  47. "eslint-plugin-vue": "^9.10.0",
  48. "less": "^4.2.0",
  49. "lint-staged": "^13.2.1",
  50. "plop": "^3.1.2",
  51. "postcss": "^8.4.21",
  52. "postcss-pxtorem": "^6.0.0",
  53. "prettier": "^2.8.7",
  54. "terser": "^5.24.0",
  55. "typescript": "^5.0.4",
  56. "unplugin-vue-components": "^0.24.1",
  57. "vite": "^4.2.1",
  58. "vite-plugin-eslint": "^1.8.1",
  59. "vue-eslint-parser": "^9.1.1",
  60. "vue-tsc": "^1.2.0",
  61. "yorkie": "^2.0.0"
  62. },
  63. "gitHooks": {
  64. "pre-commit": "lint-staged"
  65. },
  66. "lint-staged": {
  67. "*.{js,jsx,vue,ts,tsx}": [
  68. "eslint"
  69. ]
  70. },
  71. "engines": {
  72. "node": ">=14.20.0"
  73. }
  74. }