Merge pull request #141 from Calcium-Ion/vite-support
feat: vite
Showing
web/.prettierrc.mjs
0 → 100644
| ... | @@ -2,6 +2,7 @@ | ... | @@ -2,6 +2,7 @@ |
| "name": "react-template", | "name": "react-template", | ||
| "version": "0.1.0", | "version": "0.1.0", | ||
| "private": true, | "private": true, | ||
| "type": "module", | |||
| "dependencies": { | "dependencies": { | ||
| "@douyinfe/semi-icons": "^2.46.1", | "@douyinfe/semi-icons": "^2.46.1", | ||
| "@douyinfe/semi-ui": "^2.46.1", | "@douyinfe/semi-ui": "^2.46.1", | ||
| ... | @@ -16,19 +17,18 @@ | ... | @@ -16,19 +17,18 @@ |
| "react-dropzone": "^14.2.3", | "react-dropzone": "^14.2.3", | ||
| "react-fireworks": "^1.0.4", | "react-fireworks": "^1.0.4", | ||
| "react-router-dom": "^6.3.0", | "react-router-dom": "^6.3.0", | ||
| "react-scripts": "5.0.1", | |||
| "react-telegram-login": "^1.1.2", | "react-telegram-login": "^1.1.2", | ||
| "react-toastify": "^9.0.8", | "react-toastify": "^9.0.8", | ||
| "react-turnstile": "^1.0.5", | "react-turnstile": "^1.0.5", | ||
| "semantic-ui-css": "^2.5.0", | "semantic-ui-offline": "^2.5.0", | ||
| "semantic-ui-react": "^2.1.3", | "semantic-ui-react": "^2.1.3" | ||
| "usehooks-ts": "^2.9.1" | |||
| }, | }, | ||
| "scripts": { | "scripts": { | ||
| "start": "react-scripts start", | "dev": "vite", | ||
| "build": "react-scripts build", | "build": "vite build", | ||
| "test": "react-scripts test", | "lint": "prettier . --check", | ||
| "eject": "react-scripts eject" | "lint:fix": "prettier . --write", | ||
| "preview": "vite preview" | |||
| }, | }, | ||
| "eslintConfig": { | "eslintConfig": { | ||
| "extends": [ | "extends": [ | ||
| ... | @@ -49,8 +49,11 @@ | ... | @@ -49,8 +49,11 @@ |
| ] | ] | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "prettier": "2.8.8", | "@so1ve/prettier-config": "^2.0.0", | ||
| "typescript": "4.4.2" | "@vitejs/plugin-react": "^4.2.1", | ||
| "prettier": "^3.0.0", | |||
| "typescript": "4.4.2", | |||
| "vite": "^5.2.0" | |||
| }, | }, | ||
| "prettier": { | "prettier": { | ||
| "singleQuote": true, | "singleQuote": true, | ||
| ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
web/vite.config.js
0 → 100644
Please
register
or
sign in
to comment