package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "vite-template",
  3. "version": "0.9.0",
  4. "scripts": {
  5. "dev": "vite",
  6. "build": "vue-tsc --noEmit && vite build",
  7. "build:test": "vue-tsc --noEmit && vite build --mode test",
  8. "build:legacy": "vue-tsc --noEmit && vite build --mode legacy",
  9. "preview": "vite preview",
  10. "lint": "eslint --cache \"src/**/*.{vue,ts,tsx}\" --fix",
  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. "git add"
  29. ]
  30. },
  31. "dependencies": {
  32. "@ant-design/icons-vue": "^6.0.1",
  33. "@vueuse/core": "^7.5.5",
  34. "ant-design-vue": "^3.0.0-beta.8",
  35. "axios": "^0.24.0",
  36. "nprogress": "^0.2.0",
  37. "pinia": "^2.0.9",
  38. "vue": "^3.2.29",
  39. "vue-router": "^4.0.12"
  40. },
  41. "devDependencies": {
  42. "@types/node": "^16.11.21",
  43. "@types/nprogress": "^0.2.0",
  44. "@typescript-eslint/eslint-plugin": "^5.10.1",
  45. "@typescript-eslint/parser": "^5.10.1",
  46. "@vitejs/plugin-legacy": "^1.6.4",
  47. "@vitejs/plugin-vue": "^2.1.0",
  48. "@vitejs/plugin-vue-jsx": "^1.3.3",
  49. "@vue/eslint-config-typescript": "^9.1.0",
  50. "commitizen": "^4.2.4",
  51. "cz-conventional-changelog": "^3.3.0",
  52. "eslint": "^8.7.0",
  53. "eslint-config-prettier": "^8.3.0",
  54. "eslint-define-config": "^1.2.3",
  55. "eslint-plugin-prettier": "^4.0.0",
  56. "eslint-plugin-vue": "^8.4.0",
  57. "husky": "^7.0.4",
  58. "less": "^4.1.2",
  59. "lint-staged": "^12.3.2",
  60. "prettier": "^2.5.1",
  61. "typescript": "^4.5.5",
  62. "unplugin-auto-import": "^0.5.11",
  63. "unplugin-vue-components": "^0.17.14",
  64. "vite": "^2.7.13",
  65. "vue-tsc": "^0.29.8"
  66. }
  67. }