arabdullah commited on
Commit
db57d83
·
verified ·
1 Parent(s): 705bd1a

Update package.json

Browse files
Files changed (1) hide show
  1. package.json +7 -3
package.json CHANGED
@@ -4,8 +4,11 @@
4
  "description": "Telegram web app clone to allow sending of text messages, voice notes, making of voice calls and video calls",
5
  "main": "index.js",
6
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1",
8
- "start": "npx nodemon index.js"
 
 
 
9
  },
10
  "repository": {
11
  "type": "git",
@@ -26,6 +29,7 @@
26
  "express": "^4.18.2",
27
  "jsonwebtoken": "^8.5.1",
28
  "mongoose": "^6.7.1",
29
- "socket.io": "^4.5.3"
 
30
  }
31
  }
 
4
  "description": "Telegram web app clone to allow sending of text messages, voice notes, making of voice calls and video calls",
5
  "main": "index.js",
6
  "scripts": {
7
+ "start": "pm2 start ecosystem.config.js",
8
+ "stop": "pm2 stop ecosystem.config.js",
9
+ "restart": "pm2 restart ecosystem.config.js",
10
+ "logs": "pm2 logs",
11
+ "dev": "nodemon start & cd client && npm start"
12
  },
13
  "repository": {
14
  "type": "git",
 
29
  "express": "^4.18.2",
30
  "jsonwebtoken": "^8.5.1",
31
  "mongoose": "^6.7.1",
32
+ "socket.io": "^4.5.3",
33
+ "pm2": "^5.2.0"
34
  }
35
  }