代码拉取完成,页面将自动刷新
{
"name": "leno-admin",
"version": "1.0.0",
"description": "使用React18+webpack5构建基础的后台管理框架(包含:登录权限、用户角色管理,路由按钮权限及动态添加,字典管理,区域岗位管理,代码生成等)",
"main": "index.js",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server -c build/webpack.dev.js",
"test": "cross-env NODE_ENV=test webpack-dev-server -c build/webpack.dev.js",
"build": "cross-env NODE_ENV=production webpack -c build/webpack.prod.js",
"lint": "npm run lint-eslint && npm run lint-stylelint",
"lint-eslint": "eslint -c .eslintrc.js --ext .ts,.tsx,.js src",
"lint-stylelint": "stylelint --config .stylelintrc.js src/**/*.{less,css,scss}",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint --config .commitlintrc.js -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint --config .eslintrc.js"
],
"*.{css,less,scss}": [
"stylelint --config .stylelintrc.js"
],
"*.{ts,tsx,js,json,html,yml,css,less,scss,md}": [
"prettier --write"
]
},
"repository": {
"type": "git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/guojiongwei/webpack5-react-ts/issues"
},
"homepage": "https://github.com/guojiongwei/webpack5-react-ts#readme",
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/plugin-proposal-decorators": "^7.18.2",
"@babel/plugin-transform-runtime": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@soda/friendly-errors-webpack-plugin": "^1.8.1",
"@types/js-cookie": "^3.0.2",
"@types/mockjs": "^1.0.7",
"@types/node-cron": "^3.0.7",
"@types/react": "^18.2.20",
"@types/react-color": "^3.0.6",
"@types/react-dom": "^18.2.4",
"@types/react-router-dom": "^5.3.3",
"@types/react-syntax-highlighter": "^15.5.6",
"@types/webpack-env": "^1.17.0",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"autoprefixer": "^10.4.7",
"babel-loader": "^8.2.5",
"classnames": "^2.3.2",
"compression-webpack-plugin": "^10.0.0",
"conventional-changelog-cli": "^2.2.2",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.23.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.0.0",
"dotenv-webpack": "^8.0.1",
"eslint": "^8.49.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"file-loader": "^6.2.0",
"glob-all": "^3.3.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"javascript-obfuscator": "^4.0.2",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.1",
"postcss": "^8.4.14",
"postcss-loader": "^7.0.1",
"postcss-scss": "^4.0.8",
"prettier": "^2.7.1",
"purgecss-webpack-plugin": "^4.1.3",
"react-refresh": "^0.14.0",
"sass-loader": "^13.0.2",
"speed-measure-webpack-plugin": "^1.5.0",
"style-loader": "^3.3.1",
"stylelint": "^14.9.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^26.0.0",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^5.2.1",
"svg-sprite-loader": "^6.0.11",
"thread-loader": "^3.0.4",
"typescript": "^4.7.4",
"typescript-plugin-css-modules": "^3.4.0",
"url-loader": "^4.1.1",
"webpack": "^5.73.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "^5.8.0",
"webpack-obfuscator": "^3.5.1",
"webpackbar": "^5.0.2"
},
"dependencies": {
"@ant-design/icons": "^5.2.6",
"antd": "^4.24.5",
"axios": "^0.27.2",
"js-cookie": "^3.0.1",
"mobx": "^6.6.1",
"mobx-persist-store": "^1.0.6",
"mobx-react-lite": "^3.4.0",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"react": "^18.2.0",
"react-color": "^2.19.3",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"screenfull": "^6.0.2"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。