-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
96 lines (96 loc) · 3.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "whatsapp-nodejs",
"version": "0.1.0",
"description": "This is a library based on whatsapp androd latest version, you can use it build your own app.",
"main": "src/index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"start": "NODE_ENV=production npm run startHttp && npm run startSocket",
"startHttp": "NODE_ENV=production egg-scripts start --daemon --title=egg-server-whatsapp",
"startSocket": "NODE_ENV=production pm2 start ecosystem.config.js",
"dev": "NODE_ENV=development npm run startHttpDev && npm run startSocketDev",
"startHttpDev": "NODE_ENV=development egg-scripts start --daemon --title=egg-server-whatsapp",
"startSocketDev": "NODE_ENV=development pm2 start socket.js -i max",
"stop": "npm run stopHttp && npm run stopSocket",
"stopHttp": "egg-scripts stop --title=egg-server-whatsapp",
"s": "node shell/s.js",
"stopSocket": "pm2 delete all",
"reset": "npm run stop && npm run start",
"resetHttp": "npm run stopHttp && npm run startHttp",
"resetSocket": "pm2 reload all",
"npm run log": "tail -f /root/logs/whatsapp/whatsapp-web.log -n 500",
"npm run errorlog": "tail -f /root/logs/whatsapp/common-error.log -n 500",
"pbjs": "pbjs -t static-module -w commonjs -o src/protobuf/pb.js proto/*.proto",
"pub": "sh ./scripts/shell/pubserver.sh",
"debug": "egg-bin debug",
"test": "mocha -t 6000000000 -b -w test/*",
"test-local": "egg-bin test --watchAll -t 6000000",
"cov": "egg-bin cov",
"lint": "eslint .",
"ci": "npm run lint && npm run cov"
},
"engines": {
"node": ">=16.11.0"
},
"keywords": [
"whatsapp"
],
"author": "[email protected]",
"dependencies": {
"@privacyresearch/libsignal-protocol-typescript": "0.0.9",
"bunyan": "^1.8.15",
"bunyan-debug-stream": "^2.0.0",
"curve25519-n": "^1.5.0",
"egg": "^2.21.1",
"egg-bcrypt": "^1.1.0",
"egg-cloud": "^0.2.0",
"egg-cors": "^2.2.0",
"egg-jwt": "^3.1.6",
"egg-redis": "^2.4.0",
"egg-validate": "^2.0.2",
"eggooo": "^1.0.1",
"exceljs": "^4.1.1",
"fast-xml-parser": "^3.19.0",
"fs-extra": "^7.0.1",
"got": "^11.8.5",
"heapdump": "^0.3.15",
"ioredis": "^4.17.3",
"mime": "^2.5.2",
"moment": "^2.24.0",
"mongoose": "^5.10.7",
"nodemailer": "^6.1.1",
"protobufjs": "^6.11.3",
"shelljs": "^0.8.3",
"socks-proxy-agent": "^5.0.0",
"swig": "^1.4.2",
"tunnel": "0.0.6",
"uuid": "^7.0.3"
},
"devDependencies": {
"@types/frida-gum": "^16.2.0",
"@types/node": "^14.18.23",
"babel-eslint": "^10.1.0",
"egg-bin": "^4.15.0",
"egg-mock": "^4.0.1",
"egg-scripts": "^2.13.0",
"eslint": "^6.0.1",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-egg": "^7.3.1",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-compat": "^3.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^4.2.0",
"frida-compile": "^10.0.0",
"mocha": "^8.3.0",
"pm2": "^4.5.4",
"prettier": "^1.18.2"
},
"license": "ISC"
}