|
3 | 3 | "description": "一套基于react19、ts、vite6的项目模板,帮助快速搭建react项目", |
4 | 4 | "version": "1.0.0", |
5 | 5 | "type": "module", |
6 | | - "packageManager": "pnpm@9.14.4", |
| 6 | + "packageManager": "pnpm@9.15.1", |
7 | 7 | "author": "huangmingfu <[email protected]>", |
8 | 8 | "license": "MIT", |
9 | 9 | "homepage": "https://github.com/huangmingfu/react-ts-template", |
|
34 | 34 | "lint:format": "prettier --write \"**/*.{ts,tsx,js,jsx,cjs,mjs,html,scss,css,json}\"", |
35 | 35 | "lint:style": "stylelint \"**/*.{css,scss}\" --fix", |
36 | 36 | "lint:all": "pnpm run lint:eslint && pnpm run lint:style && pnpm run lint:format", |
37 | | - "lint:lint-staged": "lint-staged", |
38 | | - "prepare": "husky install", |
39 | | - "preinstall": "npx only-allow pnpm", |
40 | 37 | "push": "sh scripts/push.sh", |
41 | 38 | "clean": "rm -rf node_modules dist dist-*", |
42 | 39 | "deps:check": "pnpm outdated -r", |
43 | | - "deps:update": "pnpm update --latest" |
| 40 | + "deps:update": "pnpm update --latest", |
| 41 | + "prepare": "husky install", |
| 42 | + "preinstall": "npx only-allow pnpm" |
44 | 43 | }, |
45 | 44 | "dependencies": { |
46 | 45 | "ahooks": "^3.8.4", |
47 | 46 | "axios": "^1.7.9", |
48 | 47 | "classnames": "^2.5.1", |
49 | 48 | "dayjs": "^1.11.13", |
50 | | - "es-toolkit": "^1.30.1", |
| 49 | + "es-toolkit": "^1.31.0", |
51 | 50 | "immer": "^10.1.1", |
52 | 51 | "react": "^19.0.0", |
53 | 52 | "react-dom": "^19.0.0", |
54 | | - "react-router": "^7.1.0", |
| 53 | + "react-router": "^7.1.1", |
55 | 54 | "zustand": "^5.0.2" |
56 | 55 | }, |
57 | 56 | "devDependencies": { |
|
61 | 60 | "@eslint/js": "^9.17.0", |
62 | 61 | "@react-dev-inspector/vite-plugin": "^2.0.1", |
63 | 62 | "@trivago/prettier-plugin-sort-imports": "^5.2.0", |
64 | | - "@types/node": "^22.10.2", |
| 63 | + "@types/node": "^22.10.3", |
65 | 64 | "@types/react": "^19.0.2", |
66 | 65 | "@types/react-dom": "^19.0.2", |
67 | 66 | "@vitejs/plugin-react-swc": "^3.7.2", |
68 | 67 | "eslint": "^9.17.0", |
69 | | - "eslint-plugin-react": "^7.37.2", |
| 68 | + "eslint-plugin-react": "^7.37.3", |
70 | 69 | "eslint-plugin-react-hooks": "^5.1.0", |
71 | 70 | "eslint-plugin-react-refresh": "^0.4.16", |
72 | 71 | "globals": "^15.14.0", |
73 | 72 | "husky": "^9.1.7", |
74 | | - "lint-staged": "^15.2.11", |
| 73 | + "lint-staged": "^15.3.0", |
75 | 74 | "prettier": "^3.4.2", |
76 | 75 | "react-dev-inspector": "^2.0.1", |
77 | 76 | "sass": "^1.83.0", |
|
81 | 80 | "stylelint-config-standard-scss": "^14.0.0", |
82 | 81 | "stylelint-order": "^6.0.4", |
83 | 82 | "typescript": "~5.7.2", |
84 | | - "typescript-eslint": "^8.18.1", |
85 | | - "vite": "^6.0.5", |
| 83 | + "typescript-eslint": "^8.19.0", |
| 84 | + "vite": "^6.0.6", |
86 | 85 | "vite-plugin-checker": "^0.8.0" |
87 | 86 | }, |
88 | 87 | "engines": { |
|
0 commit comments