chore(apis/websocket): remove unneccessary packages and edit build target

This commit is contained in:
Pun Butrach
2024-01-17 17:49:29 +07:00
committed by PalmDevs
parent d40a9d78cb
commit e600cc56f7

View File

@@ -6,7 +6,7 @@
"description": "🧦 WebSocket API server for bots assisting ReVanced",
"main": "dist/index.js",
"scripts": {
"bundle": "bun build src/index.ts --outdir=dist --target=node --minify --sourcemap=external",
"bundle": "bun build src/index.ts --outdir=dist --target=bun --minify --sourcemap=external",
"dev": "bun run src/index.ts --watch",
"build": "bun bundle",
"watch": "bun dev"
@@ -27,17 +27,14 @@
},
"homepage": "https://github.com/revanced/revanced-helper#readme",
"dependencies": {
"@fastify/websocket": "^8.3.1",
"@revanced/bot-shared": "workspace:*",
"@sapphire/async-queue": "^1.5.1",
"chalk": "^5.3.0",
"fastify": "^4.25.2",
"node-wit": "^6.6.0",
"tesseract.js": "^5.0.4"
},
"devDependencies": {
"@types/node-wit": "^6.0.3",
"@types/ws": "^8.5.10",
"typed-emitter": "^2.1.0"
}
}