feat: switched bun to nodejs

This commit is contained in:
2026-02-04 14:45:50 +07:00
parent 8b34e589bc
commit 1dce024b1a
4 changed files with 3305 additions and 561 deletions
+11 -14
View File
@@ -7,10 +7,10 @@
"beamboxctl": "./dist/index.js"
},
"scripts": {
"dev": "bun run src/index.tsx",
"build": "bun build src/index.tsx --outdir dist --target node --minify",
"start": "bun run dist/index.js",
"test": "bun test"
"dev": "tsx src/index.tsx",
"build": "tsup src/index.tsx --format esm --dts --minify --out-dir dist",
"start": "node dist/index.js",
"test": "vitest"
},
"keywords": [
"beambox",
@@ -31,15 +31,12 @@
"sharp": "^0.34.5"
},
"devDependencies": {
"@types/bun": "^1.3.8",
"@types/node": "^22.0.0",
"@types/noble": "^0.0.44",
"@types/react": "^19.2.10"
},
"peerDependencies": {
"typescript": "^5.9.3"
},
"trustedDependencies": [
"@abandonware/bluetooth-hci-socket",
"@abandonware/noble"
]
"@types/react": "^19.2.10",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.9.3",
"vitest": "^3.0.0"
}
}