1 Star 0 Fork 2

liu1024/React-project前端React项目模板

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 2.78 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "react-project",
"private": true,
"version": "1.0.0",
"type": "module",
"author": {
"name": "laoyuan",
"url": "http://www.qianduan8.com"
},
"scripts": {
"dev": "vite",
"dev-local": "vite --mode local.development",
"dev-test": "vite --mode test",
"build": "vite build",
"build-test": "vite build --mode test",
"build-gzip": "vite build --mode production.gizp",
"build-noCache": "pnpm clean-cache && pnpm build",
"build-preview": "vite build && vite preview",
"preview": "vite preview",
"clean-cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
"clean-lib": "rimraf node_modules",
"lint-prettier": "prettier --write",
"lint-style": "stylelint src/**/*.{vue,css,scss} --fix --cache --cache-location node_modules/.cache/stylelint/",
"lint-eslint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --fix --cache --cache-location node_modules/.cache/eslint/",
"lint": "pnpm lint-eslint && pnpm lint-prettier && pnpm lint-style",
"prepare": "husky install",
"check-keyword": "bash ./.husky/_/check-keyword.sh"
},
"dependencies": {
"@reduxjs/toolkit": "^1.9.5",
"@types/lodash": "^4.14.195",
"amfe-flexible": "^2.2.1",
"antd": "^5.7.3",
"axios": "^1.4.0",
"dayjs": "^1.11.8",
"lodash": "^4.17.21",
"query-string": "^8.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.1",
"react-router-dom": "^6.14.1"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@types/node": "^20.3.1",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@vitejs/plugin-react": "^4.0.3",
"autoprefixer": "^10.4.14",
"eslint": "^8.51.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"picocolors": "^1.0.0",
"postcss-px-to-viewport": "^1.1.1",
"postcss-pxtorem": "^6.0.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.63.4",
"stylelint": "^15.8.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recess-order": "^4.2.0",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"typescript": "^5.1.3",
"unplugin-auto-import": "^0.16.4",
"vite": "^4.3.9",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-eslint": "^1.8.1"
},
"lint-staged": {
"*.{js,ts,tsx,json,cjs}": [
"prettier --write",
"eslint --fix"
],
"*.{scss,css}": "stylelint --fix"
},
"engines": {
"node": ">=18.15.0"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liu_1024/react-project.git
git@gitee.com:liu_1024/react-project.git
liu_1024
react-project
React-project前端React项目模板
master

搜索帮助