42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "@ti-pote/robot-client",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Ti-Pote Robot Client — Runs on Raspberry Pi Zero 2W",
|
|
"bin": {
|
|
"tipote": "./dist/cli.js"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx watch src/main.ts",
|
|
"build": "tsup src/main.ts src/cli.ts --format esm --dts --clean",
|
|
"start": "node dist/main.js",
|
|
"lint": "eslint \"src/**/*.ts\" --fix",
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"hw:demo": "pnpm exec tsx scripts/hardware-demo.ts",
|
|
"audio:loopback": "pnpm exec tsx scripts/audio-loopback.ts",
|
|
"audio:beep": "pnpm exec tsx scripts/audio-beep.ts",
|
|
"esp:record": "pnpm exec tsx ../robot-hardware/scripts/esp-record.ts",
|
|
"esp:play": "pnpm exec tsx ../robot-hardware/scripts/esp-play.ts"
|
|
},
|
|
"dependencies": {
|
|
"socket.io-client": "^4.8.3",
|
|
"dotenv": "^17.3.1",
|
|
"pino": "^9.6.0",
|
|
"pino-pretty": "^13.0.0",
|
|
"serialport": "^12.0.0",
|
|
"sd-notify": "^3.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.8.3",
|
|
"tsx": "^4.21.0",
|
|
"tsup": "^8.5.0",
|
|
"@types/node": "^22.15.0",
|
|
"vitest": "^3.2.1",
|
|
"eslint": "^10.1.0",
|
|
"prettier": "^3.8.1"
|
|
}
|
|
}
|