package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "vue-vite-h5",
  3. "version": "0.1.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.10.7",
  25. "loaders.css": "^0.1.2",
  26. "mitt": "^3.0.0",
  27. "normalize.css": "^8.0.1",
  28. "query-string": "^7.1.1",
  29. "umi-request": "^1.4.0",
  30. "vant": "^3.3.7",
  31. "vue": "^3.2.26",
  32. "vue-router": "^4.0.12",
  33. "vuex": "^4.0.2"
  34. },
  35. "devDependencies": {
  36. "@babel/core": "^7.16.5",
  37. "@babel/preset-env": "^7.16.5",
  38. "@types/node": "^16.11.14",
  39. "@typescript-eslint/eslint-plugin": "^5.7.0",
  40. "@typescript-eslint/parser": "^5.7.0",
  41. "@vitejs/plugin-legacy": "^1.7.1",
  42. "@vitejs/plugin-vue": "^2.0.1",
  43. "@vitejs/plugin-vue-jsx": "^1.3.8",
  44. "@vue/babel-plugin-jsx": "^1.1.1",
  45. "@vue/compiler-sfc": "^3.2.26",
  46. "@vue/eslint-config-prettier": "^6.0.0",
  47. "@vue/eslint-config-typescript": "^9.1.0",
  48. "autoprefixer": "^10.4.0",
  49. "babel-plugin-dynamic-import-node": "^2.3.3",
  50. "eslint": "^8.4.1",
  51. "eslint-plugin-prettier": "^4.0.0",
  52. "eslint-plugin-vue": "^8.2.0",
  53. "less": "^4.1.2",
  54. "less-loader": "^10.2.0",
  55. "lint-staged": "^12.1.2",
  56. "plop": "^3.0.5",
  57. "postcss": "^8.4.5",
  58. "postcss-pxtorem": "^6.0.0",
  59. "prettier": "^2.5.1",
  60. "typescript": "^4.5.2",
  61. "vite": "^2.7.3",
  62. "vite-plugin-style-import": "^1.4.0",
  63. "vue-eslint-parser": "^8.0.1",
  64. "vue-tsc": "^0.29.8",
  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"
  73. ]
  74. }
  75. }