{
  "name": "llamaindex",
  "version": "0.9.15",
  "license": "MIT",
  "type": "module",
  "keywords": [
    "llm",
    "llama",
    "openai",
    "gpt",
    "data science",
    "prompt",
    "prompt engineering",
    "chatgpt",
    "machine learning",
    "ml",
    "embedding",
    "vectorstore",
    "data framework",
    "llamaindex"
  ],
  "dependencies": {
    "@types/lodash": "^4.17.7",
    "@types/node": "^22.9.0",
    "ajv": "^8.17.1",
    "gpt-tokenizer": "^2.6.2",
    "lodash": "^4.17.21",
    "magic-bytes.js": "^1.10.0",
    "@llamaindex/cloud": "4.0.2",
    "@llamaindex/core": "0.6.2",
    "@llamaindex/env": "0.1.29",
    "@llamaindex/node-parser": "2.0.2",
    "@llamaindex/openai": "0.3.0",
    "@llamaindex/workflow": "1.0.2"
  },
  "devDependencies": {
    "@swc/cli": "^0.5.0",
    "@swc/core": "^1.9.2",
    "concurrently": "^9.1.0",
    "glob": "^11.0.0",
    "typescript": "^5.7.3"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "types": "./dist/type/index.d.ts",
  "main": "./dist/cjs/index.js",
  "exports": {
    ".": {
      "react-server": {
        "types": "./dist/type/index.react-server.d.ts",
        "default": "./dist/index.react-server.js"
      },
      "workerd": {
        "types": "./dist/type/index.workerd.d.ts",
        "default": "./dist/index.workerd.js"
      },
      "edge-light": {
        "types": "./dist/type/index.edge.d.ts",
        "default": "./dist/index.edge.js"
      },
      "import": {
        "types": "./dist/type/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/type/index.d.ts",
        "default": "./dist/cjs/index.js"
      }
    },
    "./next": {
      "import": {
        "types": "./dist/type/next.d.ts",
        "default": "./dist/next.js"
      },
      "require": {
        "types": "./dist/type/next.d.ts",
        "default": "./dist/cjs/next.js"
      }
    },
    "./internal/*": {
      "import": "./dist/not-allow.js",
      "require": "./dist/cjs/not-allow.js"
    },
    "./*": {
      "import": {
        "types": "./dist/type/*.d.ts",
        "default": "./dist/*.js"
      },
      "require": {
        "types": "./dist/type/*.d.ts",
        "default": "./dist/cjs/*.js"
      }
    }
  },
  "files": [
    "dist",
    "CHANGELOG.md",
    "examples",
    "!**/*.tsbuildinfo"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/run-llama/LlamaIndexTS.git",
    "directory": "packages/llamaindex"
  },
  "scripts": {
    "lint": "eslint .",
    "build": "rm -rf ./dist && pnpm run build:esm && pnpm run build:cjs && pnpm run build:type",
    "build:esm": "swc src -d dist --strip-leading-paths --config-file ../../.swcrc",
    "build:cjs": "swc src -d dist/cjs --strip-leading-paths --config-file ../../.cjs.swcrc",
    "build:type": "tsc -p tsconfig.json",
    "copy": "cp -r ../../README.md ../../LICENSE .",
    "postbuild": "pnpm run copy && node -e \"require('fs').writeFileSync('./dist/cjs/package.json', JSON.stringify({ type: 'commonjs' }))\"",
    "dev": "concurrently \"pnpm run build:esm --watch\" \"pnpm run build:cjs --watch\" \"pnpm run build:type --watch\""
  }
}