-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 5.03 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 5.03 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "edric",
"version": "1.0.0",
"description": "Edric - Advanced WhatsApp Bot with AI Features",
"main": "index.js",
"scripts": {
"start": "node --no-warnings --preserve-symlinks index.js",
"start:optimized": "node --max-old-space-size=512 --optimize-for-size --gc-interval=100 --no-warnings --preserve-symlinks index.js",
"dev": "node --trace-warnings index.js",
"pair": "node index.js --pairing-code",
"update": "git pull && npm install",
"update-force": "git fetch origin && git reset --hard origin/main && npm install",
"setup": "npm install && echo '✅ Setup complete!'",
"clean": "rm -rf session node_modules && npm install",
"check-git": "git --version && echo '✅ Git is available' || echo '❌ Git not found'",
"cleanup": "node --no-warnings cleanup.js",
"reset-session": "node --no-warnings reset-session.js",
"start:clean": "npm run cleanup && npm run start:optimized",
"start:fresh": "npm run reset-session && npm start",
"install:panel": "npm install --legacy-peer-deps",
"install:force": "npm install --force",
"docker:build": "docker build -t edric .",
"docker:run": "docker run -e SESSION_ID=$SESSION_ID edric",
"info": "node -e \"console.log('Edric v2.0.0 | Node', process.version)\"",
"animate": "node --no-warnings config.js",
"test": "echo '🧪 No tests configured' && exit 0",
"build": "echo '🔨 No build process needed' && exit 0",
"fix:spacing": "node -e \"const fs=require('fs');const files=fs.readdirSync('./commands').filter(f=>f.endsWith('.js'));files.forEach(f=>{let c=fs.readFileSync('./commands/'+f,'utf8');c=c.replace(/\\\\\\\\x20{2,}/g,'\\\\\\\\x20').replace(/\\s{2,}/g,' ').replace(/\\\\n\\\\s+/g,'\\\\n');fs.writeFileSync('./commands/'+f,c);});console.log('✅ Fixed spacing in commands!')\"",
"fix:obfuscated": "node -e \"const fs=require('fs');['./index.js','./main.js','./cleanup.js','./reset-session.js'].forEach(f=>{if(fs.existsSync(f)){let c=fs.readFileSync(f,'utf8');if(!c.includes('module.exports')&&!c.includes('module[\\'exports\\']')){c+='\\nif(typeof module!==\\'undefined\\'&&module&&module.exports){module.exports=typeof _0x!==\\'undefined\\'?_0x:{};}';fs.writeFileSync(f,c);console.log('Fixed:'+f)}}});console.log('✅ Obfuscation fixes applied!')\"",
"test:obfuscated": "node -e \"console.log('🧪 Testing obfuscated bot...');try{require('./index.js');console.log('✅ Bot loads successfully!')}catch(e){console.log('❌ Error:',e.message)}\"",
"obfuscate": "javascript-obfuscator ./lib --output ./lib-obf --compact true --control-flow-flattening true",
"obfuscate:safe": "javascript-obfuscator . --output ./obfuscated --compact true --control-flow-flattening true --disable-console-output false --string-array-encoding base64 --exclude 'node_modules, package.json, package-lock.json, *.json, *.md, *.txt, *.log, session, media, data'"
},
"keywords": [
"whatsapp-bot",
"automation",
"ai",
"chatbot",
"baileys"
],
"author": "Vortexx",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/vortexxx24/Edric"
},
"homepage": "https://github.com/vortexxx24/Edric#readme",
"bugs": {
"url": "https://github.com/vortexxx24/Edric/issues"
},
"dependencies": {
"@adiwajshing/keyed-db": "^0.2.4",
"@ffmpeg/ffmpeg": "^0.12.15",
"@hapi/boom": "^10.0.1",
"@types/node": "^18.0.6",
"@whiskeysockets/baileys": "^v7.0.0-rc.3",
"awesome-phonenumber": "^5.9.0",
"axios": "^1.8.4",
"chalk": "^4.1.2",
"cheerio": "^1.0.0-rc.12",
"cookie": "^0.5.0",
"discord.js": "^14.11.0",
"dotenv": "^16.4.5",
"events": "^3.3.0",
"ffmpeg-static": "^5.2.0",
"file-type": "^16.5.4",
"fluent-ffmpeg": "^2.1.3",
"form-data": "^4.0.1",
"fs-extra": "^11.2.0",
"gtts": "^0.2.1",
"human-readable": "^0.2.1",
"jimp": "^1.6.0",
"jsdom": "^22.1.0",
"libphonenumber-js": "^1.11.18",
"libsignal": "^2.0.1",
"link-preview-js": "^3.0.5",
"moment-timezone": "^0.5.43",
"mumaker": "^2.0.0",
"node-cache": "^5.1.2",
"node-fetch": "^2.7.0",
"node-id3": "^0.2.3",
"node-webpmux": "^3.1.0",
"node-youtube-music": "^0.8.3",
"ora": "^6.3.1",
"performance-now": "^2.1.0",
"phin": "^3.7.1",
"pino": "^8.21.0",
"qrcode": "^1.5.4",
"qrcode-reader": "^1.0.4",
"qrcode-terminal": "^0.12.0",
"request": "^2.88.2",
"ruhend-scraper": "^8.3.0",
"safe-stable-stringify": "^2.5.0",
"set-cookie": "^0.0.4",
"sharp": "^0.32.6",
"systeminformation": "^5.12.0",
"tough-cookie": "^5.0.0",
"translate-google-api": "^1.0.4",
"ws": "^8.17.1",
"xml2js": "^0.6.2",
"yargs": "^17.6.0",
"yargs-parser": "^21.1.1",
"youtube-yts": "^2.0.0",
"youtubedl-core": "^4.11.7",
"yt-search": "^2.12.1",
"ytdl-core": "^4.11.5"
},
"devDependencies": {
"chalk-animation": "^1.0.0",
"javascript-obfuscator": "^4.1.1"
},
"overrides": {
"jimp": "^1.6.0"
},
"engines": {
"node": ">=18.0.0"
},
"os": [
"linux",
"darwin",
"win32"
]
}