Skip to content

Commit 84f5c1b

Browse files
authored
Add package.json for React frontend in client directory
- Initialized package.json in the client directory to manage dependencies for the React frontend. - Added core React dependencies and scripts for starting, building, and testing the frontend. - This setup allows separate management of frontend and backend dependencies in a full-stack project structure.
1 parent 63ba827 commit 84f5c1b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

client/package.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "client",
3+
"version": "1.0.0",
4+
"private": true,
5+
"dependencies": {
6+
"react": "^18.2.0",
7+
"react-dom": "^18.2.0",
8+
"react-scripts": "5.0.1"
9+
},
10+
"scripts": {
11+
"start": "react-scripts start",
12+
"build": "react-scripts build",
13+
"test": "react-scripts test",
14+
"eject": "react-scripts eject"
15+
},
16+
"eslintConfig": {
17+
"extends": [
18+
"react-app",
19+
"react-app/jest"
20+
]
21+
},
22+
"browserslist": {
23+
"production": [
24+
">0.2%",
25+
"not dead",
26+
"not op_mini all"
27+
],
28+
"development": [
29+
"last 1 chrome version",
30+
"last 1 firefox version",
31+
"last 1 safari version"
32+
]
33+
}
34+
}

0 commit comments

Comments
 (0)