功能:框架搭建
正在显示
.eslintignore
0 → 100644
.idea/jsLinters/eslint.xml
deleted
100644 → 0
.idea/modules.xml
deleted
100644 → 0
.idea/react-ts.iml
deleted
100644 → 0
.idea/vcs.xml
deleted
100644 → 0
差异被折叠。
点击展开。
.prettierignore
0 → 100644
.prettierrc
0 → 100644
dist/assets/index-2aad6a17.css
0 → 100644
dist/assets/index-3f634a8c.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
dist/assets/logo-9022d9e8.svg
0 → 100644
dist/index.html
0 → 100644
index.html
0 → 100644
package-lock.json
deleted
100644 → 0
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
| { | { | ||
| "name": "react-ts", | "name": "vite-react-ts-eslint-prettier", | ||
| "version": "0.1.0", | |||
| "private": true, | "private": true, | ||
| "dependencies": { | "version": "0.0.0", | ||
| "@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": { | "scripts": { | ||
| "start": "react-scripts start", | "dev": "vite", | ||
| "build": "react-scripts build", | "build": "tsc && vite build", | ||
| "test": "react-scripts test", | "preview": "vite preview", | ||
| "eject": "react-scripts eject", | "lint": "npx eslint src", | ||
| "lint": "eslint . --ext .js,.jsx,.ts,.tsx" | "lint:fix": "npm run lint -- --fix", | ||
| "prettier": "npx prettier src --check", | |||
| "prettier:fix": "npm run prettier -- --write", | |||
| "format": "npm run prettier:fix && npm run lint:fix" | |||
| }, | }, | ||
| "eslintConfig": { | "dependencies": { | ||
| "extends": [ | "@ant-design/icons": "^5.0.1", | ||
| "react-app", | "antd": "^5.4.2", | ||
| "react-app/jest" | "dayjs": "^1.11.7", | ||
| ] | "localforage": "^1.10.0", | ||
| }, | "match-sorter": "^6.3.1", | ||
| "browserslist": { | "pinyin-pro": "^3.14.0", | ||
| "production": [ | "react": "^18.1.0", | ||
| ">0.2%", | "react-dom": "^18.1.0", | ||
| "not dead", | "react-router-dom": "^6.10.0", | ||
| "not op_mini all" | "sort-by": "^1.2.0", | ||
| ], | "xlsx": "^0.18.5" | ||
| "development": [ | |||
| "last 1 chrome version", | |||
| "last 1 firefox version", | |||
| "last 1 safari version" | |||
| ] | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@typescript-eslint/eslint-plugin": "^5.31.0", | "@types/react": "^18.0.9", | ||
| "@typescript-eslint/parser": "^5.31.0", | "@types/react-dom": "^18.0.5", | ||
| "eslint": "^7.32.0", | "@typescript-eslint/eslint-plugin": "^5.26.0", | ||
| "react-router-dom": "^6.3.0" | "@typescript-eslint/parser": "^5.26.0", | ||
| "@vitejs/plugin-react": "^1.3.0", | |||
| "eslint": "^8.16.0", | |||
| "eslint-config-prettier": "^8.5.0", | |||
| "eslint-plugin-import": "^2.26.0", | |||
| "eslint-plugin-jsx-a11y": "^6.5.1", | |||
| "eslint-plugin-prettier": "^4.0.0", | |||
| "eslint-plugin-react": "^7.30.0", | |||
| "eslint-plugin-react-hooks": "^4.5.0", | |||
| "prettier": "^2.6.2", | |||
| "sass": "^1.62.0", | |||
| "typescript": "^4.6.3", | |||
| "vite": "^4.2.1", | |||
| "vite-tsconfig-paths": "^3.5.0" | |||
| } | } | ||
| } | } |
public/favicon.ico
deleted
100644 → 0
File deleted
public/index.html
deleted
100644 → 0
public/logo192.png
deleted
100644 → 0
5.2 KB
public/logo512.png
deleted
100644 → 0
9.4 KB
public/manifest.json
deleted
100644 → 0
public/robots.txt
deleted
100644 → 0
src/api/index.ts
deleted
100644 → 0
src/api/modules/common/api.ts
deleted
100644 → 0
src/api/modules/common/interface.ts
deleted
100644 → 0
src/api/request.ts
deleted
100644 → 0
src/assets/css/App.css
deleted
100644 → 0
src/assets/css/index.css
deleted
100644 → 0
src/assets/icon/logo.svg
0 → 100644
src/assets/image/logo.svg
deleted
100644 → 0
File moved
src/assets/style/index.scss
0 → 100644
src/components/brandSelectSearch/index.scss
0 → 100644
src/components/brandSelectSearch/index.tsx
0 → 100644
src/components/layout/index.scss
0 → 100644
src/components/layout/index.tsx
0 → 100644
src/components/uploader/index.scss
0 → 100644
src/components/uploader/index.tsx
0 → 100644
src/index.tsx
deleted
100644 → 0
src/main.tsx
0 → 100644
src/pages/common/error/index.tsx
0 → 100644
src/pages/test/search/index.tsx
0 → 100644
src/pages/testPage/index.tsx
deleted
100644 → 0
src/react-app-env.d.ts
deleted
100644 → 0
src/reportWebVitals.ts
deleted
100644 → 0
src/router/router.tsx
0 → 100644
src/setupTests.ts
deleted
100644 → 0
src/utils/xlsx.ts
0 → 100644
src/vite-env.d.ts
0 → 100644
tsconfig.tsbuildinfo
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
vite.config.ts
0 → 100644
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.