代码拉取完成,页面将自动刷新
{
"name": "dk-react-cli",
"version": "1.0.0",
"description": "使用Webpack搭建的ReactTS脚手架 内置antd",
"main": "index.js",
"scripts": {
"start": "npm run dev",
"dev": "cross-env NODE_ENV=development webpack serve --config ./config/webpack.config.dev.js --stats-error-details",
"build": "cross-env NODE_ENV=production webpack --config ./config/webpack.config.prod.js --stats-error-details",
"analyze:build": "cross-env NODE_ENV=production USE_ANALYZE=1 webpack --config ./config/webpack。config.prod.js --stats-error-details",
"lint:ts": "eslint . --ext .ts,.tsx --fix",
"lint:css": "stylelint src/**/*.scss --fix"
},
"keywords": [
"Webpack",
"React",
"TS"
],
"author": "dk",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.18.6",
"@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/config-conventional": "^17.0.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@types/nprogress": "^0.2.0",
"@types/qs": "^6.9.7",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/react-loadable": "^5.5.6",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"antd-dayjs-webpack-plugin": "^1.0.6",
"babel-loader": "^8.2.5",
"babel-plugin-import": "^1.13.5",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"circular-dependency-plugin": "^5.2.2",
"commitlint": "^17.0.3",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.0.0",
"dotenv-webpack": "^7.1.1",
"eslint": "^7.32.0 || ^8.2.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-webpack-plugin": "^3.1.1",
"fork-ts-checker-webpack-plugin": "^7.2.11",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"less": "^4.1.3",
"less-loader": "^11.0.0",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.1",
"node-polyfill-webpack-plugin": "^2.0.0",
"portfinder": "^1.0.28",
"postcss-loader": "^7.0.0",
"postcss-preset-env": "^7.7.1",
"postcss-scss": "^4.0.4",
"prettier": "^2.7.1",
"purgecss-webpack-plugin": "^4.1.3",
"react-refresh": "^0.14.0",
"react-refresh-webpack-plugin": "^0.1.0",
"sass": "^1.52.3",
"sass-loader": "^13.0.0",
"style-loader": "^3.3.1",
"stylelint": "^14.9.1",
"stylelint-config-css-modules": "^4.1.0",
"stylelint-config-standard": "^26.0.0",
"stylelint-order": "^5.0.0",
"terser-webpack-plugin": "^5.3.3",
"typescript": "^4.7.4",
"typescript-plugin-css-modules": "^3.4.0",
"webpack": "^5.73.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.2",
"webpack-merge": "^5.8.0",
"webpackbar": "^5.0.2"
},
"dependencies": {
"@loadable/component": "^5.15.2",
"antd": "^4.21.3",
"axios": "^0.27.2",
"dayjs": "^1.11.3",
"eslint-plugin-import": "^2.26.0",
"lodash": "^4.17.21",
"mobx": "^6.6.1",
"mobx-react-lite": "^3.4.0",
"nprogress": "^0.2.0",
"qs": "^6.10.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix"
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。