Skip to content

Commit 773639b

Browse files
developer-choiFront
authored andcommitted
next로 전환
1 parent b463d86 commit 773639b

36 files changed

+1106
-5481
lines changed

.babelrc.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

next-env.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/types/global" />

package.json

Lines changed: 19 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"start": "webpack-dev-server"
7+
"dev": "next dev",
8+
"build": "next build",
9+
"start": "next start"
810
},
911
"repository": {
1012
"type": "git",
@@ -14,73 +16,39 @@
1416
"author": "YuJinChoe",
1517
"license": "ISC",
1618
"dependencies": {
17-
"@babel/polyfill": "^7.12.1",
18-
"@material-ui/styles": "^4.11.2",
19-
"@material-ui/system": "^4.11.2",
20-
"@material-ui/utils": "^4.11.2",
21-
"axios": "^0.21.1",
22-
"classnames": "^2.2.6",
23-
"clipboard-polyfill": "^3.0.2",
2419
"d3-geo-projection": "^3.0.0",
25-
"decimal.js": "^10.2.1",
26-
"i18n-js": "^3.8.0",
2720
"moment": "^2.29.1",
28-
"query-string": "^6.13.8",
29-
"react": "^17.0.1",
30-
"react-dom": "^17.0.1",
31-
"react-icons": "^4.1.0",
32-
"react-redux": "^7.2.2",
33-
"react-router-dom": "^5.2.0",
21+
"next": "^10.1.3",
22+
"react": "^17.0.2",
23+
"react-dom": "^17.0.2",
24+
"react-redux": "^7.2.3",
3425
"react-simple-maps": "^2.3.0",
35-
"react-syntax-highlighter": "^15.4.3",
36-
"react-transition-group": "^4.4.1",
37-
"recharts": "^2.0.0",
3826
"redux": "^4.0.5",
3927
"redux-actions": "^2.6.5",
40-
"redux-devtools-extension": "^2.13.8",
28+
"redux-devtools-extension": "^2.13.9",
4129
"redux-saga": "^1.1.3",
4230
"redux-thunk": "^2.3.0",
4331
"reselect": "^4.0.0",
44-
"styled-components": "^5.2.1",
32+
"styled-components": "^5.2.3",
4533
"styled-reset": "^4.3.4"
4634
},
4735
"devDependencies": {
48-
"@babel/core": "^7.12.10",
49-
"@babel/preset-env": "^7.12.11",
50-
"@babel/preset-react": "^7.12.10",
51-
"@babel/preset-typescript": "^7.12.7",
5236
"@types/axios": "^0.14.0",
53-
"@types/classnames": "^2.2.11",
54-
"@types/decimal.js": "^7.4.0",
55-
"@types/i18n-js": "^3.8.0",
5637
"@types/moment": "^2.13.0",
57-
"@types/query-string": "^6.3.0",
58-
"@types/react": "^17.0.0",
59-
"@types/react-dom": "^17.0.0",
60-
"@types/react-icons": "^3.0.0",
61-
"@types/react-redux": "^7.1.15",
38+
"@types/next": "^9.0.0",
39+
"@types/react": "^17.0.3",
40+
"@types/react-dom": "^17.0.3",
41+
"@types/react-redux": "^7.1.16",
6242
"@types/react-router-dom": "^5.1.7",
6343
"@types/react-simple-maps": "^1.0.3",
64-
"@types/react-syntax-highlighter": "^13.5.0",
65-
"@types/recharts": "^1.8.18",
6644
"@types/redux-actions": "^2.6.1",
6745
"@types/redux-saga": "^0.10.5",
68-
"@types/styled-components": "^5.1.7",
69-
"@typescript-eslint/eslint-plugin": "^4.12.0",
70-
"@typescript-eslint/parser": "^4.12.0",
71-
"babel-loader": "^8.2.2",
72-
"babel-plugin-styled-components": "^1.12.0",
73-
"copy-webpack-plugin": "^7.0.0",
74-
"eslint": "^7.17.0",
75-
"eslint-plugin-react": "^7.22.0",
46+
"@types/styled-components": "^5.1.9",
47+
"@typescript-eslint/eslint-plugin": "^4.22.0",
48+
"@typescript-eslint/parser": "^4.22.0",
49+
"eslint": "^7.24.0",
50+
"eslint-plugin-react": "^7.23.2",
7651
"eslint-plugin-react-hooks": "^4.2.0",
77-
"file-loader": "^6.2.0",
78-
"html-webpack-plugin": "^4.5.1",
79-
"serve": "^11.3.2",
80-
"ts-node": "^9.1.1",
81-
"typescript": "^4.2.3",
82-
"webpack": "^4.43.0",
83-
"webpack-cli": "^3.3.11",
84-
"webpack-dev-server": "^3.11.0"
52+
"typescript": "^4.2.4"
8553
}
8654
}

pages/index.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from 'react';
2+
import styled from 'styled-components';
3+
4+
export default function index() {
5+
6+
return (
7+
<Wrap>
8+
index.tsx Page
9+
</Wrap>
10+
);
11+
}
12+
13+
const Wrap = styled.div`
14+
background-color: red;
15+
`;

public/manifest.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

public/react-logo.png

-5.22 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)