package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "vite-template",
  3. "version": "0.6.0",
  4. "scripts": {
  5. "dev": "vite",
  6. "build": "vue-tsc --noEmit && vite build",
  7. "preview": "vite preview",
  8. "lint": "eslint --cache \"src/**/*.{vue,ts,tsx}\" --fix",
  9. "prepare": "husky install",
  10. "commit": "git cz",
  11. "husky-hook:add": "husky add .husky/pre-commit ./node_modules/.bin/lint-staged"
  12. },
  13. "engines": {
  14. "node": ">=12",
  15. "pnpm": ">=3"
  16. },
  17. "config": {
  18. "commitizen": {
  19. "path": "./node_modules/cz-conventional-changelog"
  20. }
  21. },
  22. "lint-staged": {
  23. "*.{vue,ts,tsx}": [
  24. "yarn lint",
  25. "git add"
  26. ]
  27. },
  28. "dependencies": {
  29. "@ant-design/icons-vue": "^6.0.1",
  30. "@vueuse/core": "^7.4.0",
  31. "ant-design-vue": "^3.0.0-alpha.16",
  32. "axios": "^0.24.0",
  33. "nprogress": "^0.2.0",
  34. "pinia": "^2.0.8",
  35. "vue": "^3.2.26",
  36. "vue-router": "^4.0.12"
  37. },
  38. "devDependencies": {
  39. "@types/node": "^16.11.15",
  40. "@types/nprogress": "^0.2.0",
  41. "@typescript-eslint/eslint-plugin": "^5.8.0",
  42. "@typescript-eslint/parser": "^5.8.0",
  43. "@vitejs/plugin-vue": "^2.0.1",
  44. "@vue/eslint-config-typescript": "^9.1.0",
  45. "commitizen": "^4.2.4",
  46. "cz-conventional-changelog": "^3.3.0",
  47. "eslint": "^8.5.0",
  48. "eslint-define-config": "^1.2.0",
  49. "eslint-plugin-vue": "^8.2.0",
  50. "husky": "^7.0.4",
  51. "less": "^4.1.2",
  52. "lint-staged": "^12.1.3",
  53. "typescript": "^4.5.4",
  54. "unplugin-vue-components": "^0.17.9",
  55. "vite": "^2.7.5",
  56. "vue-tsc": "^0.29.8"
  57. }
  58. }