sameernotes commited on
Commit
104f096
·
verified ·
1 Parent(s): 47a00d3

Update package.json

Browse files
Files changed (1) hide show
  1. package.json +6 -5
package.json CHANGED
@@ -2,15 +2,16 @@
2
  "name": "chat-app",
3
  "version": "1.0.0",
4
  "description": "",
5
- "main": "index.js",
6
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
 
8
  },
9
  "keywords": [],
10
  "author": "",
11
  "license": "ISC",
12
  "dependencies": {
13
- "express": "^5.1.0",
14
- "socket.io": "^4.8.1"
15
  }
16
- }
 
2
  "name": "chat-app",
3
  "version": "1.0.0",
4
  "description": "",
5
+ "main": "app.js", // Changed main from index.js to app.js
6
  "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "start": "node app.js" // <--- ADD THIS LINE
9
  },
10
  "keywords": [],
11
  "author": "",
12
  "license": "ISC",
13
  "dependencies": {
14
+ "express": "^5.1.0", // Note: Your screenshot might have 4.x, adjust if needed
15
+ "socket.io": "^4.8.1" // Note: Your screenshot might have 4.x, adjust if needed
16
  }
17
+ }