-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.93 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
{
"name": "esmbot",
"version": "1.10.3",
"description": "A Discord bot with miscellaneous features",
"exports": "./app.js",
"bin": "./app.js",
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"build": "npm run build-natives && npm run build-ffmpeg",
"build-natives": "cmake-js compile --CDWITH_MAGICK=ON",
"build-natives:debug": "cmake-js compile -BDebug --CDWITH_MAGICK=ON",
"build-natives:no-magick": "cmake-js compile --CDWITH_MAGICK=OFF",
"build-natives:debug-no-magick": "cmake-js compile -BDebug --CDWITH_MAGICK=OFF",
"build-ffmpeg": "cd ffmpeg/; { echo 'Configuring the FFmpeg build. This might take a while...' && sh ./configure --fatal-warnings --enable-gpl --enable-version3 --enable-nonfree --enable-libesmbot --enable-libvips --enable-libvpx --enable-libopus --enable-libx264 --enable-openssl --disable-encoders --enable-encoder=png --enable-encoder=mjpeg --enable-encoder=gif --enable-encoder=libvpx_vp8 --enable-encoder=libopus --enable-encoder=libx264 --enable-encoder=libx264rgb --enable-encoder=aac --enable-encoder=wrapped_avframe --disable-outdevs --disable-indevs --enable-indev=lavfi --disable-muxers --enable-muxer=image2 --enable-muxer=gif --enable-muxer=webm --enable-muxer=mp4 --enable-muxer=null --assert-level=1 --disable-doc && make -j $(grep -c ^processor /proc/cpuinfo) && cd .. && exit 0; } || { cd .. && exit 1; }",
"docker:build": "DOCKER_BUILDKIT=1 docker build -t esmbot .",
"docker:run-bot": "docker run --rm --network=host esmbot",
"docker:run-api": "docker run --rm --network=host esmbot-api",
"docker:run-lava": "docker run --rm --network host -v \"$(pwd)\"/application.yml:/opt/Lavalink/application.yml -v \"$(pwd)\"/assets:/opt/Lavalink/assets ghcr.io/lavalink-devs/lavalink:4",
"start": "node app.js",
"start:debug": "DEBUG=true node app.js",
"start-api": "node api/index.js",
"start-api:debug": "DEBUG=true node app.js"
},
"author": "Essem <essem@essem.space>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/esmBot/esmBot.git"
},
"dependencies": {
"better-sqlite3": "^9.3.0",
"dotenv": "^16.4.1",
"emoji-regex": "^10.3.0",
"file-type": "^19.0.0",
"format-duration": "^3.0.2",
"node-addon-api": "^7.1.0",
"oceanic.js": "1.9.0",
"postgres": "^3.4.3",
"shoukaku": "^4.0.1",
"winston": "^3.11.0",
"winston-daily-rotate-file": "^4.7.1",
"ws": "^8.16.0",
"zlib-sync": "^0.1.9"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.9",
"@babel/eslint-plugin": "^7.23.5",
"@babel/plugin-transform-class-properties": "^7.23.3",
"@biomejs/biome": "1.5.3",
"@types/ws": "^8.5.10",
"cmake-js": "^7.3.0",
"eslint": "^8.56.0",
"eslint-plugin-unicorn": "^50.0.1"
},
"optionalDependencies": {
"pm2": "^5.3.1"
},
"binary": {
"napi_versions": [
7
]
},
"packageManager": "pnpm@8.12.1"
}