package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "vite-demo",
  3. "version": "0.0.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. "@vueuse/core": "^7.3.0",
  30. "axios": "^0.24.0",
  31. "nprogress": "^0.2.0",
  32. "pinia": "^2.0.6",
  33. "vue": "^3.2.25",
  34. "vue-router": "4"
  35. },
  36. "devDependencies": {
  37. "@types/node": "^16.11.13",
  38. "@types/nprogress": "^0.2.0",
  39. "@typescript-eslint/eslint-plugin": "^5.7.0",
  40. "@typescript-eslint/parser": "^5.7.0",
  41. "@vitejs/plugin-vue": "^2.0.0",
  42. "@vue/eslint-config-typescript": "^9.1.0",
  43. "commitizen": "^4.2.4",
  44. "cz-conventional-changelog": "^3.3.0",
  45. "eslint": "^8.4.1",
  46. "eslint-define-config": "^1.2.0",
  47. "eslint-plugin-vue": "^8.2.0",
  48. "husky": "^7.0.4",
  49. "lint-staged": "^12.1.2",
  50. "typescript": "^4.4.4",
  51. "vite": "^2.7.1",
  52. "vue-tsc": "^0.29.8"
  53. }
  54. }