package.json fixed
This commit is contained in:
parent
6c9361785a
commit
1433ac2ce7
|
|
@ -149,7 +149,7 @@ app.use((err, req, res, next) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Set listening port
|
// Set listening port
|
||||||
server.listen(NODE_PORT, async () => {
|
server.listen(NODE_PORT, "localhost", async () => {
|
||||||
console.log(
|
console.log(
|
||||||
`Express Server with Socket.io started on Port: ${app.get(
|
`Express Server with Socket.io started on Port: ${app.get(
|
||||||
"port"
|
"port"
|
||||||
|
|
|
||||||
10
package.json
10
package.json
|
|
@ -1,13 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "my-fullstack-app",
|
"name": "aeroecho-fullstack",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently \"npm run backend:dev\" \"npm run frontend:dev\"",
|
"dev": "concurrently \"npm run backend:dev\" \"npm run frontend:dev\"",
|
||||||
|
"start": "concurrently \"npm run backend:start\" \"npm run frontend:start\"",
|
||||||
"backend:dev": "cd backend && npm run dev",
|
"backend:dev": "cd backend && npm run dev",
|
||||||
"frontend:dev": "cd frontend && npm run dev",
|
"frontend:dev": "cd frontend && npm run dev",
|
||||||
"backend:start": "cd backend && npm start",
|
"backend:start": "cd backend && npm run start",
|
||||||
"frontend:start": "cd frontend && npm start",
|
"frontend:start": "cd frontend && npm run start",
|
||||||
"install:all": "cd backend && npm install && cd ../frontend && npm install"
|
"build": "cd frontend && npm run build",
|
||||||
|
"install:all": "npm install && cd backend && npm install && cd ../frontend && npm install"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^8.2.2"
|
"concurrently": "^8.2.2"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user