package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "config": {
  14. "commitizen": {
  15. "path": "./node_modules/cz-conventional-changelog"
  16. }
  17. },
  18. "lint-staged": {
  19. "*.{vue,js,ts}": [
  20. "yarn lint",
  21. "git add"
  22. ]
  23. },
  24. "dependencies": {
  25. "axios": "^0.24.0",
  26. "nprogress": "^0.2.0",
  27. "pinia": "^2.0.6",
  28. "vue": "^3.2.25",
  29. "vue-router": "4"
  30. },
  31. "devDependencies": {
  32. "@types/node": "^16.11.13",
  33. "@types/nprogress": "^0.2.0",
  34. "@typescript-eslint/eslint-plugin": "^5.7.0",
  35. "@typescript-eslint/parser": "^5.7.0",
  36. "@vitejs/plugin-vue": "^2.0.0",
  37. "@vue/eslint-config-typescript": "^9.1.0",
  38. "commitizen": "^4.2.4",
  39. "cz-conventional-changelog": "^3.3.0",
  40. "eslint": "^8.4.1",
  41. "eslint-define-config": "^1.2.0",
  42. "eslint-plugin-vue": "^8.2.0",
  43. "husky": "^7.0.4",
  44. "lint-staged": "^12.1.2",
  45. "typescript": "^4.4.4",
  46. "vite": "^2.7.1",
  47. "vue-tsc": "^0.29.8"
  48. }
  49. }