package.json 1.9 KB

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