{
  "name": "@hasna/recordings",
  "version": "0.2.1",
  "type": "module",
  "description": "Speech-to-text recording tool with MCP and CLI — records, transcribes, and optionally enhances text using AI",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hasna/recordings.git"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "recordings": "dist/cli/index.js",
    "recordings-mcp": "dist/mcp/index.js",
    "recordings-serve": "dist/server/index.js"
  },
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./storage": {
      "import": "./dist/storage.js",
      "types": "./dist/storage.d.ts"
    },
    "./sdk": {
      "import": "./dist/sdk/index.js",
      "types": "./dist/sdk/index.d.ts"
    }
  },
  "scripts": {
    "clean": "rm -rf dist",
    "build": "bun run clean && bun run build:cli && bun run build:mcp && bun run build:serve && bun run build:lib && tsc --emitDeclarationOnly --outDir dist",
    "build:cli": "bun build src/cli/index.ts --target=bun --outfile=dist/cli/index.js --external=commander --external=chalk --external=openai",
    "build:mcp": "bun build src/mcp/index.ts --target=bun --outfile=dist/mcp/index.js --external=@modelcontextprotocol/sdk --external=openai",
    "build:serve": "bun build src/server/index.ts --target=bun --outfile=dist/server/index.js --external=@modelcontextprotocol/sdk --external=@hasna/contracts --external=openai --external=pg",
    "build:lib": "bun build src/index.ts src/storage.ts src/sdk/index.ts --target=bun --outdir=dist --external=openai",
    "generate:sdk": "bun run scripts/generate-sdk.ts",
    "migrate": "bun run scripts/migrate.ts",
    "typecheck": "tsc --noEmit",
    "test": "bun test",
    "test:coverage": "bun test --coverage",
    "dev:cli": "bun run src/cli/index.ts",
    "dev:mcp": "bun run src/mcp/index.ts",
    "verify:release": "bun run scripts/release-guard.ts",
    "prepack": "bun run build && bun run verify:release",
    "prepublishOnly": "bun run typecheck && bun run test",
    "postinstall": "bash scripts/install_macos_app.sh --postinstall"
  },
  "files": [
    "dist/",
    "scripts/",
    "src/native/Recordings/App/",
    "src/native/Recordings/RecordingsLib/",
    "src/native/Recordings/RecordingsTests/",
    "src/native/Recordings/Package.swift",
    "src/native/Recordings/Package.resolved",
    "src/native/Recordings/build.sh",
    "README.md",
    "LICENSE"
  ],
  "dependencies": {
    "@hasna/contracts": "^0.4.2",
    "@hasna/events": "^0.1.11",
    "@modelcontextprotocol/sdk": "^1.12.1",
    "chalk": "^5.4.1",
    "commander": "^13.1.0",
    "openai": "^5.1.0",
    "pg": "^8.13.3",
    "zod": "^3.24.2"
  },
  "devDependencies": {
    "@types/bun": "^1.2.5",
    "@types/pg": "^8.11.11",
    "typescript": "^5.8.2"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "license": "Apache-2.0",
  "author": "Hasna <andrei@hasna.com>"
}
