{
  "name": "@happyvertical/translator",
  "version": "0.88.0",
  "description": "Standardized translation interface supporting Google Translate, DeepL, and LibreTranslate",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    }
  },
  "bin": {
    "have-translator-context": "./dist/cli/claude-context.js"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE",
    "AGENT.md",
    "metadata.json"
  ],
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/happyvertical/sdk.git",
    "directory": "packages/translator"
  },
  "bugs": {
    "url": "https://github.com/happyvertical/sdk/issues"
  },
  "homepage": "https://github.com/happyvertical/sdk/tree/main/packages/translator#readme",
  "keywords": [
    "translation",
    "i18n",
    "google-translate",
    "deepl",
    "libretranslate",
    "language-detection"
  ],
  "author": "willgriffin@gmail.com",
  "license": "ISC",
  "dependencies": {
    "@google-cloud/translate": "^9.3.0",
    "deepl-node": "^1.26.0",
    "@happyvertical/utils": "0.88.0",
    "@happyvertical/cache": "0.88.0"
  },
  "devDependencies": {
    "@types/node": "25.0.10",
    "typescript": "5.9.3",
    "vite": "8.1.4",
    "vite-plugin-dts": "4.5.4",
    "vitest": "4.1.10"
  },
  "scripts": {
    "test": "vitest --config ../../vitest.package.config.ts run",
    "test:watch": "vitest --config ../../vitest.package.config.ts",
    "build": "vite build",
    "build:watch": "vite build --watch",
    "docs": "typedoc --plugin typedoc-plugin-markdown --out docs --entryPoints ./src/index.ts --tsconfig ./tsconfig.json --excludePrivate --excludeInternal --hideGenerator --fileExtension .md --readme none --categorizeByGroup false --includeVersion false --hidePageHeader --hidePageTitle false --outputFileStrategy modules",
    "docs:watch": "typedoc --plugin typedoc-plugin-markdown --out docs --entryPoints ./src/index.ts --tsconfig ./tsconfig.json --excludePrivate --excludeInternal --hideGenerator --fileExtension .md --readme none --categorizeByGroup false --includeVersion false --hidePageHeader --hidePageTitle false --outputFileStrategy modules --watch",
    "clean": "rm -rf dist docs *.tsbuildinfo",
    "dev": "npm run build:watch & npm run test:watch"
  }
}