Skip to content

Commit f574d74

Browse files
authored
Merge pull request #3 from smit3949/ui
UI changes
2 parents 815a7c0 + be5640b commit f574d74

File tree

11 files changed

+1544
-15867
lines changed

11 files changed

+1544
-15867
lines changed

client/craco.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
style: {
3+
postcss: {
4+
plugins: [
5+
require('tailwindcss'),
6+
require('autoprefixer'),
7+
],
8+
},
9+
},
10+
}

client/package-lock.json

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

client/package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,31 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6+
"@craco/craco": "^6.2.0",
67
"@testing-library/jest-dom": "^5.11.4",
78
"@testing-library/react": "^11.1.0",
89
"@testing-library/user-event": "^12.1.10",
910
"axios": "^0.21.1",
1011
"codemirror": "^5.62.0",
12+
"peerjs": "^1.3.2",
1113
"pusher-js": "^7.0.3",
1214
"pushid": "^1.0.0",
1315
"quill": "^1.3.7",
1416
"react": "^17.0.2",
1517
"react-codemirror2": "^7.2.1",
1618
"react-dom": "^17.0.2",
19+
"react-draggable": "^4.4.3",
20+
"react-resizable": "^3.0.4",
1721
"react-router-dom": "^5.2.0",
1822
"react-scripts": "4.0.3",
1923
"socket.io-client": "^4.1.2",
2024
"uuid": "^8.3.2",
2125
"web-vitals": "^1.0.1"
2226
},
2327
"scripts": {
24-
"start": "react-scripts start",
25-
"build": "react-scripts build",
26-
"test": "react-scripts test",
28+
"start": "craco start",
29+
"build": "craco build",
30+
"test": "craco test",
2731
"eject": "react-scripts eject"
2832
},
2933
"eslintConfig": {
@@ -43,5 +47,10 @@
4347
"last 1 firefox version",
4448
"last 1 safari version"
4549
]
50+
},
51+
"devDependencies": {
52+
"autoprefixer": "^9",
53+
"postcss": "^7",
54+
"tailwindcss": "npm:@tailwindcss/postcss7-compat"
4655
}
4756
}

client/public/index.html

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,12 @@
1010
content="Web site created using create-react-app"
1111
/>
1212
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13-
<!--
14-
manifest.json provides metadata used when your web app is installed on a
15-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16-
-->
1713
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18-
<!--
19-
Notice the use of %PUBLIC_URL% in the tags above.
20-
It will be replaced with the URL of the `public` folder during the build.
21-
Only files inside the `public` folder can be referenced from the HTML.
22-
23-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24-
work correctly both with client-side routing and a non-root public URL.
25-
Learn how to configure a non-root public URL by running `npm run build`.
26-
-->
2714
<title>React App</title>
2815
</head>
2916
<body>
3017
<noscript>You need to enable JavaScript to run this app.</noscript>
3118
<div id="root"></div>
32-
<!--
33-
This HTML file is a template.
34-
If you open it directly in the browser, you will see an empty page.
35-
36-
You can add webfonts, meta tags, or analytics to this file.
37-
The build step will place the bundled scripts into the <body> tag.
38-
39-
To begin the development, run `npm start` or `yarn start`.
40-
To create a production bundle, use `npm run build` or `yarn build`.
41-
-->
19+
<div id="video-root"></div>
4220
</body>
4321
</html>

0 commit comments

Comments
 (0)