Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions front/public/index.html → front/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@
crossorigin="anonymous"
></script>
<script src="https://developers.kakao.com/sdk/js/kakao.js"></script>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</html>
29,948 changes: 2,671 additions & 27,277 deletions front/package-lock.json

Large diffs are not rendered by default.

65 changes: 36 additions & 29 deletions front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,10 @@
"homepage": "http://place.weballin.com",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.0",
"@fortawesome/free-brands-svg-icons": "^6.2.0",
"@fortawesome/free-regular-svg-icons": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@headlessui/react": "^1.7.3",
"@heroicons/react": "^2.0.12",
"@tailwindcss/line-clamp": "^0.4.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^0.27.2",
"react": "^18.2.0",
"react-apple-emojis": "^2.2.1",
"react-device-detect": "^2.2.2",
"react-dom": "^18.2.0",
"react-indiana-drag-scroll": "^2.2.0",
"react-router-dom": "^6.4.0",
"react-scripts": "5.0.1",
"recoil": "^0.7.5",
"swiper": "^8.4.2",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"dev": "vite",
"build": "tsc && vite build",
"serve": "vite preview"
},
"eslintConfig": {
"extends": [
Expand All @@ -51,9 +26,41 @@
"last 1 safari version"
]
},
"dependencies": {
"@types/jest": "^29.5.7",
"@types/node": "^20.8.10",
"@types/react": "^18.2.35",
"@types/react-dom": "^18.2.14",
"react": "^18.2.0",
"react-router-dom": "^6.4.0",
"vite-tsconfig-paths": "^4.2.1",
"axios": "^0.27.2",
"react-device-detect": "^2.2.2",
"react-dom": "^18.2.0",
"react-indiana-drag-scroll": "^2.2.0",
"recoil": "^0.7.5",
"swiper": "^8.4.2",
"typescript": "^5.0.3",
"web-vitals": "^2.1.4",
"react-apple-emojis": "^2.2.1",
"@fortawesome/fontawesome-svg-core": "^6.2.0",
"@fortawesome/free-brands-svg-icons": "^6.2.0",
"@fortawesome/free-regular-svg-icons": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@headlessui/react": "^1.7.3",
"@heroicons/react": "^2.0.12",
"@tailwindcss/line-clamp": "^0.4.2"
},
"devDependencies": {
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.1.1",
"autoprefixer": "^10.4.12",
"postcss": "^8.4.16",
"tailwindcss": "^3.1.8"
"tailwindcss": "^3.1.8",
"vite": "^4.5.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0"
}
}
8 changes: 0 additions & 8 deletions front/src/App.test.js

This file was deleted.

2 changes: 1 addition & 1 deletion front/src/Routes.js → front/src/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Join from './pages/Join';
import MyPage from './pages/MyPage';
import Detail from './pages/Detail';
import Write from './pages/Write';
import FindPassword from 'pages/FindPassword/index';
import FindPassword from '@/pages/FindPassword/index';
import FloatingBtn from './components/FloatingBtn';

import Header from './components/header';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 7 additions & 5 deletions front/src/index.js → front/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ import './styles/index.css';
import './styles/font.css';
import Switchs from './Routes';
import reportWebVitals from './reportWebVitals';
import {RecoilRoot} from '../node_modules/recoil/';
import {RecoilRoot} from 'recoil';

const root = ReactDOM.createRoot(document.getElementById('root'));
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
root.render(
<RecoilRoot>
<Switchs />
</RecoilRoot>
<React.StrictMode>
<RecoilRoot>
<Switchs />
</RecoilRoot>
</React.StrictMode>
);

// If you want to start measuring performance in your app, pass a function
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 24 additions & 0 deletions front/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"compilerOptions": {
"target": "es2017",
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["vite/client"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"paths": {
"@/*": ["./src/*"],
"~/*": ["./public/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
1 change: 1 addition & 0 deletions front/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="vite/client" />
8 changes: 8 additions & 0 deletions front/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import viteTsconfigPaths from 'vite-tsconfig-paths';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), viteTsconfigPaths()],
});