1 Star 0 Fork 273

shijiyun/react-admin

forked from sxfad/react-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 4.90 KB
一键复制 编辑 原始数据 按行查看 历史
zkboys 提交于 2022-03-29 09:19 . :sparkles:升级
{
"name": "react-admin",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "cross-env PORT=3000 NODE_ENV=development REACT_APP_RUN_ENV=development craco start",
"start": "nodemon -w craco.config.js -w ./src/theme.less -w ./src/setupProxy.js -w ./src/setupProxyConfig.json --exec \"yarn dev\"",
"build:test": "cross-env REACT_APP_CONFIG_ENV=test REACT_APP_RUN_ENV=test craco build",
"build": "cross-env NODE_ENV=production REACT_APP_CONFIG_ENV=production REACT_APP_RUN_ENV=production craco build",
"build:analyzer": "cross-env ANALYZER=true yarn build",
"build:time": "cross-env ANALYZER_TIME=true yarn build",
"build:prev": "cross-env NODE_ENV=production REACT_APP_RUN_ENV=preview REACT_APP_MOCK=true REACT_APP_HASH_ROUTER=true REACT_APP_BASE_NAME=/react-admin/build/ PUBLIC_URL=/react-admin/build/ BUILD_PATH=docs/build craco build",
"rancher": "cross-env BUILD_COMMAND=build:test rancher-deploy",
"test": "craco test",
"docs": "docsify serve -p 3301",
"lint": "lint-staged --allow-empty",
"prepare": "husky install",
"prepare2": "cd .. && husky install front/.husky"
},
"dependencies": {
"@ahooksjs/use-url-state": "^2.5.7",
"@ant-design/icons": "^4.6.2",
"@babel/core": "^7.13.15",
"@babel/plugin-proposal-decorators": "^7.13.15",
"@babel/plugin-proposal-export-default-from": "^7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
"@craco/craco": "^6.1.1",
"@loadable/component": "^5.14.1",
"@ra-lib/admin": "^0.1.61",
"@ra-lib/generator": "^0.0.8",
"@ra-lib/rancher-deploy": "^1.0.15",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"ahooks": "^2.10.2",
"antd": "^4.16.2",
"axios": "^0.24.0",
"axios-mock-adapter": "^1.19.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-plugin-classnames": "^0.2.0",
"babel-plugin-import": "^1.13.3",
"babel-plugin-named-asset-import": "^0.3.7",
"babel-plugin-react-css-modules": "^5.2.6",
"babel-preset-react-app": "^10.0.0",
"classnames": "^2.3.1",
"craco-antd": "^1.19.0",
"cross-env": "^7.0.3",
"eslint": "^7.28.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-testing-library": "^3.9.0",
"husky": "^7.0.1",
"json5": "^2.2.0",
"lint-staged": "^11.0.1",
"lodash": "^4.17.21",
"mockjs": "^1.1.0",
"moment": "^2.29.1",
"nodemon": "^2.0.7",
"nprogress": "^0.2.0",
"path-to-regexp": "^6.2.0",
"postcss-less": "^4.0.1",
"prettier": "^2.5.1",
"prop-types": "^15.7.2",
"qiankun": "^2.4.2",
"qs": "^6.10.1",
"query-string": "^7.0.1",
"react": "^17.0.2",
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-redux": "^7.2.3",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.3",
"react-sortable-hoc": "^2.0.0",
"react-transition-group": "^4.4.1",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"redux-undo": "^1.0.1",
"speed-measure-webpack-plugin": "^1.5.0",
"uuid": "^8.3.2",
"web-vitals": "^1.0.1",
"webpack-bundle-analyzer": "^4.4.1",
"webpackbar": "^5.0.0-3"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"impliedStrict": true,
"ecmaFeatures": {
"jsx": true,
"impliedStrict": true,
"globalReturn": false,
"experimentalObjectRestSpread": true,
"legacyDecorators": true
}
},
"rules": {
"import/no-anonymous-default-export": 0,
"jsx-a11y/anchor-is-valid": 0
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
],
"development": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
]
},
"lint-staged": {
"gitDir": ".",
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --max-warnings 0 --fix",
"prettier --write"
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/shijiyun/react-admin.git
git@gitee.com:shijiyun/react-admin.git
shijiyun
react-admin
react-admin
master

搜索帮助