-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.67 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.67 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
{
"name": "dev-bot",
"version": "1.5",
"description": "Full-featured Discord bot with AI Best Friend, 130+ shop items, economy, leveling, battles, analytics, invite tracking, moderation, and MongoDB/JSON database",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc && npm run copy-views",
"copy-views": "node -e \"const fs=require('fs');const path=require('path');function copyDir(src,dest){fs.mkdirSync(dest,{recursive:true});fs.readdirSync(src).forEach(file=>{const s=path.join(src,file);const d=path.join(dest,file);fs.statSync(s).isDirectory()?copyDir(s,d):fs.copyFileSync(s,d)})};copyDir('src/dashboard/views','dist/dashboard/views');copyDir('src/dashboard/public','dist/dashboard/public')\"",
"start": "npm run build && node dist/index.js",
"dev": "tsx watch src/index.ts",
"dashboard": "npm run build && node start-dashboard.js",
"backup": "node dist/utils/backup.js"
},
"keywords": ["discord", "bot", "economy", "leveling", "typescript"],
"author": "",
"license": "MIT",
"dependencies": {
"discord.js": "^14.14.1",
"express": "^4.18.2",
"express-session": "^1.17.3",
"ejs": "^3.1.9",
"passport": "^0.7.0",
"passport-discord": "^0.1.4",
"axios": "^1.6.5",
"dotenv": "^16.3.1",
"chalk": "^5.3.0",
"ms": "^2.1.3",
"mongoose": "^8.1.0"
},
"devDependencies": {
"@types/node": "^20.11.5",
"@types/express": "^4.17.21",
"@types/express-session": "^1.17.10",
"@types/passport": "^1.0.16",
"@types/passport-discord": "^0.1.12",
"@types/ms": "^0.7.34",
"@types/ejs": "^3.1.5",
"typescript": "^5.3.3",
"tsx": "^4.7.0"
},
"engines": {
"node": ">=18.0.0"
}
}