{
    "name": "voyageai",
    "version": "0.2.1",
    "private": false,
    "repository": {
        "type": "git",
        "url": "git+https://github.com/voyage-ai/typescript-sdk.git"
    },
    "type": "commonjs",
    "main": "./dist/cjs/extended/index.js",
    "module": "./dist/esm/index.mjs",
    "types": "./dist/cjs/extended/index.d.ts",
    "exports": {
        ".": {
            "types": "./dist/cjs/extended/index.d.ts",
            "import": {
                "types": "./dist/esm/extended/index.d.mts",
                "default": "./dist/esm/extended/index.mjs"
            },
            "require": {
                "types": "./dist/cjs/extended/index.d.ts",
                "default": "./dist/cjs/extended/index.js"
            },
            "default": "./dist/cjs/extended/index.js"
        },
        "./serialization": {
            "types": "./dist/cjs/serialization/index.d.ts",
            "import": {
                "types": "./dist/esm/serialization/index.d.mts",
                "default": "./dist/esm/serialization/index.mjs"
            },
            "require": {
                "types": "./dist/cjs/serialization/index.d.ts",
                "default": "./dist/cjs/serialization/index.js"
            },
            "default": "./dist/cjs/serialization/index.js"
        },
        "./package.json": "./package.json"
    },
    "files": [
        "dist",
        "reference.md",
        "README.md",
        "LICENSE"
    ],
    "scripts": {
        "format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
        "format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
        "lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
        "lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
        "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
        "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
        "build": "pnpm build:cjs && pnpm build:esm",
        "build:cjs": "tsc --project ./tsconfig.cjs.json",
        "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
        "test": "vitest",
        "test:unit": "vitest --project unit",
        "test:wire": "vitest --project wire"
    },
    "dependencies": {
        "node-fetch": "^2.7.0"
    },
    "peerDependencies": {
        "@huggingface/transformers": "^3.8.0",
        "onnxruntime-node": ">=1.17.0"
    },
    "peerDependenciesMeta": {
        "@huggingface/transformers": {
            "optional": true
        },
        "onnxruntime-node": {
            "optional": true
        }
    },
    "devDependencies": {
        "@types/node-fetch": "^2.6.12",
        "webpack": "^5.97.1",
        "ts-loader": "^9.5.1",
        "vitest": "^3.2.4",
        "msw": "2.11.2",
        "@types/node": "^18.19.70",
        "typescript": "~5.7.2",
        "@biomejs/biome": "2.3.11",
        "@vitest/coverage-v8": "^3.2.4"
    },
    "browser": {
        "fs": false,
        "os": false,
        "path": false,
        "stream": false
    },
    "packageManager": "pnpm@10.20.0",
    "engines": {
        "node": ">=18.0.0"
    },
    "sideEffects": false,
    "license": "MIT"
}
