加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 3.35 KB
一键复制 编辑 原始数据 按行查看 历史
lizhiyuan 提交于 2023-11-07 20:59 . init
{
"name": "myProduct",
"version": "0.1.0",
"private": true,
"target": "web",
"dependencies": {
"@ant-design/icons": "^5.1.4",
"@antv/g2plot": "^2.4.31",
"antd": "^5.6.3",
"axios": "^1.4.0",
"bluebird": "^3.7.2",
"body-parser": "^1.19.1",
"cross-env": "^7.0.3",
"dev-ip": "^1.0.1",
"fs-extra": "^10.0.0",
"http-proxy-middleware": "^2.0.6",
"js-cookie": "^3.0.1",
"js-yaml": "^4.1.0",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-nunjucks-2": "^3.0.2",
"koa-proxies": "^0.12.3",
"koa-router": "^10.1.1",
"koa-static": "^5.0.0",
"koa2-connect": "^1.0.2",
"moment": "^2.29.2",
"qs": "^6.10.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.2.1",
"sass": "^1.48.0",
"tar.gz": "^1.0.7",
"vconsole": "^3.12.1",
"web-vitals": "^2.1.3"
},
"scripts": {
"start": "cross-env NODE_ENV=development npm run server & npm run dev",
"dev": "nodemon -w config -w scripts scripts/server.js",
"server": "nodemon -e js,json,yaml -w config -w server -x node server/server.js",
"build": "cross-env NODE_ENV=production npm run compile",
"compile": "node scripts/compile.js",
"deploy": "cross-env NODE_ENV=production node scripts/deploy.js",
"lint": "eslint --ext .ts,.tsx src --fix",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\" \"src/**/*.scss\""
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.0",
"@types/koa": "^2.13.4",
"@types/koa-router": "^7.4.4",
"@types/node": "^16.11.20",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"css-loader": "^6.5.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^4.3.8",
"lint-staged": "^12.1.7",
"mini-css-extract-plugin": "^2.5.2",
"nodemon": "^2.0.15",
"pm2": "^5.1.2",
"postcss": "^8.4.6",
"postcss-loader": "^6.2.1",
"postcss-preset-env": "^8.5.1",
"postcss-pxtorem": "^6.0.0",
"prettier": "^2.5.1",
"sass-loader": "^12.4.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.2.6",
"typescript": "^5.1.6",
"url-loader": "^4.1.1",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.3",
"webpack-merge": "^5.8.0"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"prettier --write",
"eslint",
"git add"
],
"src/**/*.{scss,css}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化