package.json 2.0 KB

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