- Add comprehensive speech configuration in .env.example and app config - Update Docker speech Dockerfile for more flexible model handling - Create detailed README for speech-to-text examples - Implement example script demonstrating speech features - Improve speech service initialization and configuration management
60 lines
1.8 KiB
JSON
60 lines
1.8 KiB
JSON
{
|
|
"name": "homeassistant-mcp",
|
|
"version": "1.0.0",
|
|
"description": "Home Assistant Model Context Protocol",
|
|
"main": "dist/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "bun run dist/index.js",
|
|
"dev": "bun --hot --watch src/index.ts",
|
|
"build": "bun build ./src/index.ts --outdir ./dist --target node --minify",
|
|
"test": "bun test",
|
|
"test:watch": "bun test --watch",
|
|
"test:coverage": "bun test --coverage",
|
|
"test:ci": "bun test --coverage --bail",
|
|
"test:update": "bun test --update-snapshots",
|
|
"test:clear": "bun test --clear-cache",
|
|
"test:staged": "bun test --findRelatedTests",
|
|
"lint": "eslint . --ext .ts",
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
"prepare": "husky install",
|
|
"profile": "bun --inspect src/index.ts",
|
|
"clean": "rm -rf dist .bun coverage",
|
|
"typecheck": "bun x tsc --noEmit",
|
|
"preinstall": "bun install --frozen-lockfile",
|
|
"example:speech": "bun run examples/speech-to-text-example.ts"
|
|
},
|
|
"dependencies": {
|
|
"@elysiajs/cors": "^1.2.0",
|
|
"@elysiajs/swagger": "^1.2.0",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/node": "^20.11.24",
|
|
"@types/sanitize-html": "^2.9.5",
|
|
"@types/ws": "^8.5.10",
|
|
"dotenv": "^16.4.5",
|
|
"elysia": "^1.2.11",
|
|
"helmet": "^7.1.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"node-fetch": "^3.3.2",
|
|
"sanitize-html": "^2.11.0",
|
|
"typescript": "^5.3.3",
|
|
"ws": "^8.16.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/uuid": "^10.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
"@typescript-eslint/parser": "^7.1.0",
|
|
"bun-types": "^1.2.2",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"husky": "^9.0.11",
|
|
"prettier": "^3.2.5",
|
|
"supertest": "^6.3.3",
|
|
"uuid": "^11.0.5"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.0.0"
|
|
}
|
|
} |