Initial commit
上级
正在显示
.eslintrc
0 → 100644
.gitignore
0 → 100644
.idea/.gitignore
0 → 100644
.idea/inspectionProfiles/Project_Default.xml
0 → 100644
.idea/jsLinters/eslint.xml
0 → 100644
.idea/modules.xml
0 → 100644
.idea/react-ts.iml
0 → 100644
.idea/vcs.xml
0 → 100644
.idea/workspace.xml
0 → 100644
README.md
0 → 100644
package-lock.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
package.json
0 → 100644
| { | |||
| "name": "react-ts", | |||
| "version": "0.1.0", | |||
| "private": true, | |||
| "dependencies": { | |||
| "@testing-library/jest-dom": "^5.16.4", | |||
| "@testing-library/react": "^13.3.0", | |||
| "@testing-library/user-event": "^13.5.0", | |||
| "@types/jest": "^27.5.2", | |||
| "@types/node": "^16.11.45", | |||
| "@types/react": "^18.0.15", | |||
| "@types/react-dom": "^18.0.6", | |||
| "axios": "^0.27.2", | |||
| "eslint-plugin-react-hooks": "^4.6.0", | |||
| "react": "^18.2.0", | |||
| "react-dom": "^18.2.0", | |||
| "react-scripts": "5.0.1", | |||
| "typescript": "^4.7.4", | |||
| "web-vitals": "^2.1.4" | |||
| }, | |||
| "scripts": { | |||
| "start": "react-scripts start", | |||
| "build": "react-scripts build", | |||
| "test": "react-scripts test", | |||
| "eject": "react-scripts eject", | |||
| "lint": "eslint . --ext .js,.jsx,.ts,.tsx" | |||
| }, | |||
| "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": { | |||
| "@typescript-eslint/eslint-plugin": "^5.31.0", | |||
| "@typescript-eslint/parser": "^5.31.0", | |||
| "eslint": "^7.32.0", | |||
| "react-router-dom": "^6.3.0" | |||
| } | |||
| } |
public/favicon.ico
0 → 100644
File added
public/index.html
0 → 100644
public/logo192.png
0 → 100644
5.2 KB
public/logo512.png
0 → 100644
9.4 KB
public/manifest.json
0 → 100644
public/robots.txt
0 → 100644
src/App.tsx
0 → 100644
src/api/index.ts
0 → 100644
src/api/modules/common/api.ts
0 → 100644
src/api/modules/common/interface.ts
0 → 100644
src/api/request.ts
0 → 100644
src/assets/css/App.css
0 → 100644
src/assets/css/index.css
0 → 100644
src/assets/image/logo.svg
0 → 100644
src/index.tsx
0 → 100644
src/pages/testPage/index.tsx
0 → 100644
src/react-app-env.d.ts
0 → 100644
src/reportWebVitals.ts
0 → 100644
src/router/index.ts
0 → 100644
src/setupTests.ts
0 → 100644
tsconfig.json
0 → 100644