1 Star 0 Fork 5

codingstudio / react-antd-admin

forked from 郭建强 / react-antd-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 3.86 KB
一键复制 编辑 原始数据 按行查看 历史
guojianqiang 提交于 2021-01-27 21:54 . feat(src): webpack 打包优化
{
"name": "react-template",
"version": "1.0.0",
"description": "一个后台管理模版",
"main": "index.js",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack serve --config webpack/webpack.dev.ts",
"test": "cross-env NODE_ENV=test webpack serve --config webpack/webpack.dev.ts",
"build": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.ts",
"lint:style": "stylelint \"src/**/**/*.less\" --syntax less",
"lint:style-fix": "stylelint \"src/**/**/*.less\" --syntax less --fix",
"lint-fix": "eslint src --fix --ext .ts,.tsx",
"lint": "eslint src --ext .ts,.tsx"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"git add"
],
"src/**/**/*.less": [
"stylelint --config=.stylelintrc.js --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/guo-jianqiang/smile-blog.git"
},
"keywords": [
"react",
"typescript"
],
"author": "郭建强",
"license": "ISC",
"bugs": {
"url": "https://github.com/guo-jianqiang/smile-blog/issues"
},
"homepage": "https://github.com/guo-jianqiang/smile-blog#readme",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@types/classnames": "^2.2.11",
"@types/fork-ts-checker-webpack-plugin": "^0.4.5",
"@types/nprogress": "^0.2.0",
"@types/react": "^17.0.0",
"@types/react-color": "^3.0.4",
"@types/react-dom": "^17.0.0",
"@types/react-loadable": "^5.5.4",
"@types/react-router-dom": "^5.1.7",
"@types/react-syntax-highlighter": "^13.5.0",
"@types/webpack": "^4.41.25",
"@types/webpack-dev-server": "^3.11.1",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"antd-theme-webpack-plugin": "^1.3.7",
"babel-loader": "^8.2.2",
"babel-plugin-import": "^1.13.3",
"chalk": "^4.1.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^7.0.0",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.1.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^6.0.8",
"html-webpack-plugin": "^4.5.1",
"husky": "^4.3.7",
"less-loader": "^7.2.1",
"lint-staged": "^10.5.3",
"mini-css-extract-plugin": "^1.3.3",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss-safe-parser": "^5.0.2",
"prettier": "^2.2.1",
"progress-bar-webpack-plugin": "^2.1.0",
"stylelint": "^13.8.0",
"text-transform-loader": "^2.0.0",
"ts-loader": "^8.0.14",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"typescript-plugin-css-modules": "^3.0.1",
"webpack": "^5.11.1",
"webpack-cli": "^4.3.1",
"webpack-dev-server": "^3.11.1",
"webpack-merge": "^5.7.3",
"webpackbar": "^5.0.0-3"
},
"dependencies": {
"antd": "^4.11.2",
"axios": "^0.21.1",
"classnames": "^2.2.6",
"history": "4.10.1",
"js-base64": "^3.6.0",
"little-deer-ui": "^1.3.9",
"nprogress": "^0.2.0",
"react": "^17.0.1",
"react-color": "^2.19.3",
"react-dom": "^17.0.1",
"react-input-color": "4.0.0",
"react-loadable": "5.5.0",
"react-markdown": "5.0.3",
"react-router-cache-route": "1.11.0",
"react-router-dom": "5.2.0",
"react-syntax-highlighter": "15.4.3"
}
}
1
https://gitee.com/codingstudio/react-antd-admin.git
git@gitee.com:codingstudio/react-antd-admin.git
codingstudio
react-antd-admin
react-antd-admin
master

搜索帮助