1 Star 0 Fork 0

cman2014 / react-webpack-ts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 4.61 KB
一键复制 编辑 原始数据 按行查看 历史
HaloPigpig 提交于 2023-06-16 17:38 . feat: 添加页面缓存功能
{
"name": "react18-webpack5-ts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "cross-env NODE_ENV=development BASE_ENV=development webpack-dev-server -c build/webpack.dev.js",
"start:test": "cross-env NODE_ENV=development BASE_ENV=test webpack-dev-server -c build/webpack.dev.js",
"start:pre": "cross-env NODE_ENV=development BASE_ENV=pre webpack-dev-server -c build/webpack.dev.js",
"start:prod": "cross-env NODE_ENV=development BASE_ENV=production webpack-dev-server -c build/webpack.dev.js",
"build": "cross-env NODE_ENV=production BASE_ENV=development webpack -c build/webpack.prod.js",
"build:test": "cross-env NODE_ENV=production BASE_ENV=test webpack -c build/webpack.prod.js",
"build:pre": "cross-env NODE_ENV=production BASE_ENV=pre webpack -c build/webpack.prod.js",
"build:prod": "cross-env NODE_ENV=production BASE_ENV=production webpack -c build/webpack.prod.js",
"build:analy": "cross-env NODE_ENV=production BASE_ENV=production webpack -c build/webpack.analy.js",
"prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,json}\" --loglevel warn",
"lint:less": "stylelint src/**/*.less --fix --custom-syntax postcss-less",
"eslint": "eslint --ext .js,.tsx,.ts src",
"eslintfix": "eslint --fix --ext .js,.tsx,.ts src",
"prepare": "husky install",
"pre-check": "npx lint-staged",
"lint-staged": "lint-staged"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix"
],
"*.less": [
"stylelint --fix --custom-syntax postcss-less"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@ant-design/charts": "^1.4.2",
"@ant-design/icons": "^5.0.0",
"@ant-design/use-emotion-css": "^1.0.4",
"@emotion/css": "^11.10.5",
"antd": "^5.5.1",
"axios": "^1.3.4",
"eslint-plugin-react-hooks": "^4.6.0",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"numeral": "^2.0.6",
"react": "^18.2.0",
"react-activation": "^0.12.4",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.6.2",
"react-sortable-hoc": "^2.0.0",
"recoil": "^0.7.6"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/plugin-proposal-decorators": "^7.20.7",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.4.1",
"@commitlint/config-conventional": "^17.4.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@types/history": "^4.7.7",
"@types/jquery": "^3.5.16",
"@types/lodash": "^4.14.191",
"@types/numeral": "^2.0.2",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/react-helmet": "^6.1.6",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"autoprefixer": "^10.4.13",
"babel-loader": "^9.1.2",
"babel-plugin-import": "^1.13.6",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.27.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^4.2.2",
"cz-customizable": "^7.0.0",
"eslint": "^8.31.0",
"eslint-plugin-react": "^7.32.0",
"glob": "^8.0.3",
"glob-all": "^3.3.1",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.3",
"less": "^4.1.3",
"less-loader": "^11.1.0",
"lint-staged": "^13.1.0",
"mini-css-extract-plugin": "^2.7.2",
"postcss-less": "^6.0.0",
"postcss-loader": "^7.0.2",
"purgecss-webpack-plugin": "^5.0.0",
"react-dev-utils": "^12.0.1",
"react-refresh": "^0.14.0",
"speed-measure-webpack-plugin": "^1.5.0",
"style-loader": "^3.3.1",
"stylelint": "^14.16.1",
"stylelint-config-css-modules": "^4.1.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-order": "^6.0.1",
"stylelint-webpack-plugin": "^3.3.0",
"terser-webpack-plugin": "^5.3.6",
"thread-loader": "^3.0.4",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.8.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bigTig/react-webpack-ts.git"
},
"bugs": {
"url": "https://github.com/bigTig/react-webpack-ts/issues"
},
"homepage": "https://github.com/bigTig/react-webpack-ts#readme"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cman2014/react-webpack-ts.git
git@gitee.com:cman2014/react-webpack-ts.git
cman2014
react-webpack-ts
react-webpack-ts
develop

搜索帮助

344bd9b3 5694891 D2dac590 5694891