-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6853755
commit 18ea0af
Showing
4 changed files
with
417 additions
and
392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"description": "一套基于react19、ts、vite6的项目模板,帮助快速搭建react项目", | ||
"version": "1.0.0", | ||
"type": "module", | ||
"packageManager": "pnpm@9.14.4", | ||
"packageManager": "pnpm@9.15.1", | ||
"author": "huangmingfu <[email protected]>", | ||
"license": "MIT", | ||
"homepage": "https://github.com/huangmingfu/react-ts-template", | ||
|
@@ -34,24 +34,23 @@ | |
"lint:format": "prettier --write \"**/*.{ts,tsx,js,jsx,cjs,mjs,html,scss,css,json}\"", | ||
"lint:style": "stylelint \"**/*.{css,scss}\" --fix", | ||
"lint:all": "pnpm run lint:eslint && pnpm run lint:style && pnpm run lint:format", | ||
"lint:lint-staged": "lint-staged", | ||
"prepare": "husky install", | ||
"preinstall": "npx only-allow pnpm", | ||
"push": "sh scripts/push.sh", | ||
"clean": "rm -rf node_modules dist dist-*", | ||
"deps:check": "pnpm outdated -r", | ||
"deps:update": "pnpm update --latest" | ||
"deps:update": "pnpm update --latest", | ||
"prepare": "husky install", | ||
"preinstall": "npx only-allow pnpm" | ||
}, | ||
"dependencies": { | ||
"ahooks": "^3.8.4", | ||
"axios": "^1.7.9", | ||
"classnames": "^2.5.1", | ||
"dayjs": "^1.11.13", | ||
"es-toolkit": "^1.30.1", | ||
"es-toolkit": "^1.31.0", | ||
"immer": "^10.1.1", | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"react-router": "^7.1.0", | ||
"react-router": "^7.1.1", | ||
"zustand": "^5.0.2" | ||
}, | ||
"devDependencies": { | ||
|
@@ -61,17 +60,17 @@ | |
"@eslint/js": "^9.17.0", | ||
"@react-dev-inspector/vite-plugin": "^2.0.1", | ||
"@trivago/prettier-plugin-sort-imports": "^5.2.0", | ||
"@types/node": "^22.10.2", | ||
"@types/node": "^22.10.3", | ||
"@types/react": "^19.0.2", | ||
"@types/react-dom": "^19.0.2", | ||
"@vitejs/plugin-react-swc": "^3.7.2", | ||
"eslint": "^9.17.0", | ||
"eslint-plugin-react": "^7.37.2", | ||
"eslint-plugin-react": "^7.37.3", | ||
"eslint-plugin-react-hooks": "^5.1.0", | ||
"eslint-plugin-react-refresh": "^0.4.16", | ||
"globals": "^15.14.0", | ||
"husky": "^9.1.7", | ||
"lint-staged": "^15.2.11", | ||
"lint-staged": "^15.3.0", | ||
"prettier": "^3.4.2", | ||
"react-dev-inspector": "^2.0.1", | ||
"sass": "^1.83.0", | ||
|
@@ -81,8 +80,8 @@ | |
"stylelint-config-standard-scss": "^14.0.0", | ||
"stylelint-order": "^6.0.4", | ||
"typescript": "~5.7.2", | ||
"typescript-eslint": "^8.18.1", | ||
"vite": "^6.0.5", | ||
"typescript-eslint": "^8.19.0", | ||
"vite": "^6.0.6", | ||
"vite-plugin-checker": "^0.8.0" | ||
}, | ||
"engines": { | ||
|
Oops, something went wrong.