forked from salman0ansari/whatsapp-api-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 3.49 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
97
98
99
{
"name": "whatsapp-api-nodejs",
"version": "4.0.0",
"description": "whatsapp-api-nodejs is builton top of Baileys-MD.",
"main": "server.js",
"scripts": {
"start": "npm run build && node lib/server.js",
"build": "npm run build:ts && npm run build:ejs",
"build:ts": "webpack --config webpack.config.js --mode=production --progress",
"build:ejs": "copyfiles -u 1 \"./src/api/views/**/*.ejs\" \"./lib\"",
"watch": "concurrently \"npm run watch:ts\" \"npm run sleep && npm run watch:node\"",
"watch:ts": "webpack --config webpack.config.js --watch --progress",
"watch:node": "nodemon --inspect lib/server.js",
"format:check": "prettierx --check .",
"format:write": "prettierx --write .",
"lint:check": "eslint .",
"lint:fix": "eslint --fix .",
"test": "jest",
"test:watch": "nodemon --verbose --watch ./tests/ --ext ts --exec yarn test",
"configure-husky": "npx husky install && npx husky add .husky/pre-commit \"npx --no-install lint-staged\"",
"sleep": "node -e \"setTimeout(() => process.exit(0), 2000)\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettierx --write",
"git add"
],
"*.{html,css,less,ejs}": [
"prettierx --write",
"git add"
]
},
"repository": "git@github.com:salman0ansari/whatsapp-api-nodejs.git",
"author": "Mohd Salman Ansari <salman0ansariii@gmail.com>",
"license": "MIT",
"dependencies": {
"@adiwajshing/keyed-db": "^0.2.4",
"@hapi/boom": "^10.0.1",
"@types/x2js": "^3.1.0",
"@whiskeysockets/baileys": "whiskeysockets/baileys#f5a5eb991a6b14a6efdf48bcfed039966abaec8d",
"axios": "^1.6.8",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"express": "^4.19.2",
"express-exception-handler": "^1.3.89",
"link-preview-js": "^3.0.5",
"lodash": "^4.17.21",
"mongodb": "^6.5.0",
"multer": "2.0.0-rc.4",
"pino": "^8.20.0",
"pino-http": "^9.0.0",
"pino-pretty": "^11.0.0",
"proper-lockfile": "^4.1.2",
"qrcode": "^1.5.3",
"qrcode-terminal": "^0.12.0",
"sanitize-filename": "^1.6.3",
"socket.io": "^4.7.5",
"uuid": "^9.0.1",
"websocket-polyfill": "^1.0.0",
"x2js": "^3.4.4"
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.0",
"@types/multer": "^1.4.11",
"@types/pino-http": "^5.8.4",
"@types/pino-pretty": "^5.0.0",
"@types/proper-lockfile": "^4.1.4",
"@types/qrcode": "^1.5.5",
"@types/uuid": "^9.0.8",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"concurrently": "^8.2.2",
"copyfiles": "^2.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"nodemon": "^3.1.0",
"prettierx": "^0.19.0",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
}
}