Upload 7 files
Browse filesFiles changed (7)
- web-user/.eslintrcAdded+89
- web-user/.gitignoreAdded+25
- web-user/.prettierrcAdded+8
- web-user/README.mdAdded+14
- web-user/jsconfig.jsonAdded+9
- web-user/package-lock.jsonAdded
- web-user/package.jsonAdded+94
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889{ "root": true, "env": { "browser": true, "es2021": true }, "extends": [ "prettier", "plugin:react/jsx-runtime", "plugin:jsx-a11y/recommended", "plugin:react-hooks/recommended", "eslint:recommended", "plugin:react/recommended" ], "settings": { "react": { "createClass": "createReactClass", // Regex for Component Factory to use, // default to "createReactClass" "pragma": "React", // Pragma to use, default to "React" "fragment": "Fragment", // Fragment to use (may be a property of <pragma>), default to "Fragment" "version": "detect", // React version. "detect" automatically picks the version you have installed. // You can also use `16.0`, `16.3`, etc, if you want to override the detected value. // It will default to "latest" and warn if missing, and to "detect" in the future "flowVersion": "0.53" // Flow version }, "import/resolver": { "node": { "moduleDirectory": ["node_modules", "src/"] } } }, "parser": "@babel/eslint-parser", "parserOptions": { "ecmaFeatures": { "experimentalObjectRestSpread": true, "impliedStrict": true, "jsx": true }, "ecmaVersion": 12 }, "plugins": ["prettier", "react", "react-hooks"], "rules": { "react/jsx-uses-react": "error", "react/jsx-uses-vars": "error", "react/react-in-jsx-scope": "off", "no-undef": "off", "react/display-name": "off", "react/jsx-filename-extension": "off", "no-param-reassign": "off", "react/prop-types": 1, "react/require-default-props": "off", "react/no-array-index-key": "off", "react/jsx-props-no-spreading": "off", "react/forbid-prop-types": "off", "import/order": "off", "import/no-cycle": "off", "no-console": "off", "jsx-a11y/anchor-is-valid": "off", "prefer-destructuring": "off", "no-shadow": "off", "import/no-named-as-default": "off", "import/no-extraneous-dependencies": "off", "jsx-a11y/no-autofocus": "off", "no-restricted-imports": [ "error", { "patterns": ["@mui/*/*/*", "!@mui/material/test-utils/*"] } ], "no-unused-vars": [ "error", { "ignoreRestSiblings": false } ], "prettier/prettier": [ "warn", { "bracketSpacing": true, "printWidth": 140, "singleQuote": true, "trailingComma": "none", "tabWidth": 2, "useTabs": false, "endOfLine": "auto" } ] }}12345678910111213141516171819202122232425# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies/node_modules/.pnp.pnp.js
# testing/coverage
# production/build
# misc.DS_Store.env.local.env.development.local.env.test.local.env.production.local
npm-debug.log*yarn-debug.log*yarn-error.log*.ideayarn.lock12345678{ "bracketSpacing": true, "printWidth": 140, "singleQuote": true, "trailingComma": "none", "tabWidth": 2, "useTabs": false}1234567891011121314# One API 前端界面
这个项目是 One API 的前端界面,它基于 [Berry Free React Admin Template](https://github.com/codedthemes/berry-free-react-admin-template) 进行开发。
## 使用的开源项目
使用了以下开源项目作为我们项目的一部分:
- [Berry Free React Admin Template](https://github.com/codedthemes/berry-free-react-admin-template)- [minimal-ui-kit](minimal-ui-kit)
## 许可证
本项目中使用的代码遵循 MIT 许可证。123456789{ "compilerOptions": { "target": "esnext", "module": "commonjs", "baseUrl": "src" }, "include": ["src/**/*"], "exclude": ["node_modules"]}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394{ "name": "chat_api", "version": "1.0.0", "homepage": "http://127.0.0.1:3000/panel", "private": true, "dependencies": { "@douyinfe/semi-ui": "^2.51.3", "@emotion/cache": "^11.11.0", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@mui/icons-material": "^5.15.7", "@mui/lab": "^5.0.0-alpha.163", "@mui/material": "^5.15.7", "@mui/system": "^5.15.7", "@mui/utils": "^5.15.7", "@mui/x-data-grid": "^6.19.4", "@mui/x-date-pickers": "^6.18.5", "@tabler/icons-react": "^2.46.0", "apexcharts": "^3.45.2", "axios": "^0.28.0", "dayjs": "^1.11.10", "formik": "^2.4.5", "framer-motion": "^11.0.3", "history": "^5.3.0", "marked": "^4.1.1", "material-ui-popup-state": "^5.0.10", "notistack": "^3.0.1", "prop-types": "^15.8.1", "react": "^18.2.0", "react-apexcharts": "^1.4.1", "react-device-detect": "^2.2.3", "react-dom": "^18.2.0", "react-perfect-scrollbar": "^1.5.8", "react-redux": "^9.1.0", "react-router": "6.21.3", "react-router-dom": "6.21.3", "react-scripts": "^5.0.1", "react-turnstile": "^1.1.2", "redux": "^5.0.1", "yup": "^0.32.11" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "babel": { "presets": [ "@babel/preset-react" ] }, "browserslist": { "production": [ "defaults", "not IE 11", ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "@babel/core": "^7.21.4", "@babel/eslint-parser": "^7.21.3", "eslint": "^8.38.0", "eslint-config-prettier": "^8.8.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "immutable": "^4.3.0", "prettier": "^2.8.7", "sass": "^1.53.0", "typescript": "4.4.2" }, "prettier": { "singleQuote": true, "jsxSingleQuote": true }}web-user/.eslintrcAdded+89
web-user/.gitignoreAdded+25
web-user/.prettierrcAdded+8
web-user/README.mdAdded+14
web-user/jsconfig.jsonAdded+9
web-user/package-lock.jsonAdded
web-user/package.jsonAdded+94