genesis
This commit is contained in:
29
package.json
Normal file
29
package.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "webpack-hmr-react-app",
|
||||
"version": "1.0.0",
|
||||
"description": "React app with Webpack HMR, WebSocket syncing, and API",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"start": "concurrently \"npm run server\" \"npm run dev\"",
|
||||
"dev": "webpack serve --mode development --open",
|
||||
"build": "webpack --mode production",
|
||||
"server": "node server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.18.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"ws": "^8.14.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.23.0",
|
||||
"@babel/preset-env": "^7.22.20",
|
||||
"@babel/preset-react": "^7.22.15",
|
||||
"babel-loader": "^9.1.3",
|
||||
"concurrently": "^8.2.1",
|
||||
"html-webpack-plugin": "^5.5.3",
|
||||
"webpack": "^5.88.2",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^4.15.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user