node-red-contrib-whatsapp-api 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "node-red-contrib-whatsapp-api",
3
+ "version": "0.1.0",
4
+ "description": "Node-RED nodes for WhatsApp Web automation over Baileys.",
5
+ "license": "UNLICENSED",
6
+ "main": "dist/nodes/whatsapp-api.js",
7
+ "files": [
8
+ "dist",
9
+ "README.md"
10
+ ],
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "scripts": {
15
+ "clean": "node scripts/clean.mjs",
16
+ "build": "npm run clean && npm run typecheck && node scripts/build-bundle.mjs && node scripts/copy-static.mjs",
17
+ "publish:dry-run": "npm publish --dry-run",
18
+ "prepack": "npm run build",
19
+ "test": "vitest run",
20
+ "test:watch": "vitest",
21
+ "typecheck": "tsc -p tsconfig.json --noEmit"
22
+ },
23
+ "keywords": [
24
+ "baileys",
25
+ "node-red",
26
+ "node-red-contrib",
27
+ "whatsapp",
28
+ "whatsapp-web"
29
+ ],
30
+ "engines": {
31
+ "node": ">=20.0.0"
32
+ },
33
+ "devDependencies": {
34
+ "@whiskeysockets/baileys": "6.7.20",
35
+ "@types/node": "^22.13.14",
36
+ "esbuild": "^0.27.4",
37
+ "qrcode": "^1.5.4",
38
+ "typescript": "^5.8.2",
39
+ "vitest": "^3.0.8"
40
+ },
41
+ "node-red": {
42
+ "version": ">=4.0.0",
43
+ "nodes": {
44
+ "whatsapp-api": "dist/nodes/whatsapp-api.js"
45
+ }
46
+ }
47
+ }