mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
chore(packages/api): remove unneccesary packages and change build target
This commit is contained in:
@@ -1,40 +1,38 @@
|
|||||||
{
|
{
|
||||||
"name": "@revanced/bot-api",
|
"name": "@revanced/bot-api",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "🙌🏻 Programmatic API for bots assisting ReVanced to communicate to its API server",
|
"description": "🙌🏻 Programmatic API for bots assisting ReVanced to communicate to its API server",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "bun bundle && bun types",
|
"build": "bun bundle && bun types",
|
||||||
"watch": "conc --raw \"bun bundle:watch\" \"bun types:watch\"",
|
"watch": "bunx conc --raw \"bun bundle:watch\" \"bun types:watch\"",
|
||||||
"bundle": "bun build src/index.ts --outdir=dist --sourcemap=external --target=node --minify",
|
"bundle": "bun build src/index.ts --outdir=dist --sourcemap=external --target=bun --minify",
|
||||||
"bundle:watch": "bun run bundle --watch",
|
"bundle:watch": "bun run bundle --watch",
|
||||||
"types": "tsc --declaration --emitDeclarationOnly",
|
"types": "tsc --declaration --emitDeclarationOnly",
|
||||||
"types:watch": "bun types --watch --preserveWatchOutput",
|
"types:watch": "bun types --watch --preserveWatchOutput",
|
||||||
"types:clean": "bun types --build --clean"
|
"types:clean": "bun types --build --clean"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/revanced/revanced-helper.git",
|
"url": "git+https://github.com/revanced/revanced-helper.git",
|
||||||
"directory": "packages/api"
|
"directory": "packages/api"
|
||||||
},
|
},
|
||||||
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
"author": "Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
"Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
"Palm <palmpasuthorn@gmail.com> (https://github.com/PalmDevs)",
|
||||||
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
|
"ReVanced <nosupport@revanced.app> (https://github.com/revanced)"
|
||||||
],
|
],
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/revanced/revanced-helper/issues"
|
"url": "https://github.com/revanced/revanced-helper/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/revanced/revanced-helper#readme",
|
"homepage": "https://github.com/revanced/revanced-helper#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@revanced/bot-shared": "workspace:*",
|
"@revanced/bot-shared": "workspace:*"
|
||||||
"ws": "^8.14.2"
|
},
|
||||||
},
|
"devDependencies": {
|
||||||
"devDependencies": {
|
"typed-emitter": "^2.1.0"
|
||||||
"@types/ws": "^8.5.10",
|
}
|
||||||
"typed-emitter": "^2.1.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user