Skip to content

Commit 90be954

Browse files
committed
fix: adjust build configuration in package.json
1 parent 0596fb2 commit 90be954

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"name": "@muhammedaksam/waha-tui",
3-
"version": "1.5.0-dev.17",
3+
"version": "1.5.0-dev.18",
44
"description": "TUI client for WhatsApp using WAHA (WhatsApp HTTP API) - manage chats, send messages, and more from your terminal",
5-
"module": "src/index.ts",
65
"type": "module",
76
"bin": {
8-
"waha-tui": "./src/index.ts"
7+
"waha-tui": "./dist/index.js"
98
},
109
"files": [
11-
"src"
10+
"dist"
1211
],
1312
"author": "Muhammed Mustafa AKŞAM <info@muhammedaksam.com.tr> (https://github.com/muhammedaksam)",
1413
"license": "MIT",
@@ -33,7 +32,8 @@
3332
"scripts": {
3433
"dev": "bun --watch src/index.ts",
3534
"dev:debug": "bun dev --debug",
36-
"build": "bun build src/index.ts --outdir dist --target bun",
35+
"build": "bun build src/index.ts --outdir dist --target bun --external '@opentui/*' --external 'node-notifier' --external 'qrcode'",
36+
"prepublishOnly": "bun run build",
3737
"typecheck": "bun x tsc --noEmit",
3838
"lint": "eslint .",
3939
"lint:fix": "eslint src/ --fix",

0 commit comments

Comments
 (0)