package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "vite-template",
  3. "version": "0.9.2",
  4. "scripts": {
  5. "dev": "vite",
  6. "build": "vue-tsc --noEmit && vite build",
  7. "build:test": "vue-tsc --noEmit && vite build --mode test",
  8. "preview": "vite preview",
  9. "lint": "eslint --cache \"src/**/*.{vue,ts,tsx}\" --fix",
  10. "prettier": "prettier --write",
  11. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  12. "prepare": "husky install",
  13. "commit": "git cz",
  14. "husky-hook:add": "husky add .husky/pre-commit ./node_modules/.bin/lint-staged"
  15. },
  16. "engines": {
  17. "node": ">=12",
  18. "pnpm": ">=3"
  19. },
  20. "config": {
  21. "commitizen": {
  22. "path": "./node_modules/cz-conventional-changelog"
  23. }
  24. },
  25. "lint-staged": {
  26. "*.{vue,ts,tsx}": [
  27. "yarn lint",
  28. "yarn prettier",
  29. "git add"
  30. ]
  31. },
  32. "dependencies": {
  33. "@ant-design/icons-vue": "^6.0.1",
  34. "@vueuse/core": "^7.5.5",
  35. "ant-design-vue": "^3.0.0-beta.8",
  36. "axios": "^0.24.0",
  37. "nprogress": "^0.2.0",
  38. "pinia": "^2.0.9",
  39. "vue": "^3.2.29",
  40. "vue-router": "^4.0.12"
  41. },
  42. "devDependencies": {
  43. "@types/node": "^16.11.21",
  44. "@types/nprogress": "^0.2.0",
  45. "@typescript-eslint/eslint-plugin": "^5.10.1",
  46. "@typescript-eslint/parser": "^5.10.1",
  47. "@vitejs/plugin-legacy": "^1.6.4",
  48. "@vitejs/plugin-vue": "^2.1.0",
  49. "@vitejs/plugin-vue-jsx": "^1.3.3",
  50. "@vue/eslint-config-typescript": "^9.1.0",
  51. "commitizen": "^4.2.4",
  52. "cz-conventional-changelog": "^3.3.0",
  53. "eslint": "^8.7.0",
  54. "eslint-config-prettier": "^8.3.0",
  55. "eslint-define-config": "^1.2.3",
  56. "eslint-plugin-prettier": "^4.0.0",
  57. "eslint-plugin-vue": "^8.4.0",
  58. "husky": "^7.0.4",
  59. "less": "^4.1.2",
  60. "lint-staged": "^12.3.2",
  61. "prettier": "^2.5.1",
  62. "typescript": "^4.5.5",
  63. "unplugin-auto-import": "^0.5.11",
  64. "unplugin-vue-components": "^0.17.14",
  65. "vite": "^2.7.13",
  66. "vite-plugin-compression": "^0.5.1",
  67. "vue-tsc": "^0.29.8"
  68. }
  69. }